Known variables: h, w, a, b, c

^{1}, d

^{1}, e

^{1}, f

^{1}, and z°

Unknown variables: c

^{2}, d

^{2}, e

^{2}, f

^{2}, m, and n

I need to find m,n and then translate c

^{1},d

^{1}to c

^{2},d

^{2}and the same for e

^{1},f

^{1}to e

^{2},f

^{2}.

Other fun facts:

a = w/2

b = h/2

This is a real-world problem, so it was one that I had to come up with the steps. I'm creeping through this problem, and now I'm stuck. I got z using trigonometry dynamically, however, I'm having trouble with the rest of this problem. Can anyone help me through the rest of the steps? I know what I need, but I don't know the equations or steps to get the unknown variables.

(Honestly, I'm also looking to calculate the distance between (c

^{2},d

^{2}) and (m,n) as well as the distance between (e

^{2},f

^{2}) and (m,n) as the actual result, but I know the equation for those last steps).

Yay example values:

- Rectangle w × h

1440 × 434 - Center Point (a,b)

(720,217) - Point (c
^{1},d^{1})

(918,177) - Point (e
^{1},f^{1})

(1018,277) - Angle z°

135°