How to move a polygon to a center point of another curve?

If you get the area of the rectangle and use that as the center point of your polygon. After you can move the triangle to the Z location you want.