assuming i have a square:

Name:  square.png
Views: 2837
Size:  2.2 KB

+ i know the coordinates of point A + point C, or the coordinates of point B + point D...

how can i find the coordinates of the other 2 points?