Midpoints to Vertices Program

Given the coordinates of D, E, and F (the midpoints) of a triangle, this program will compute the coordinates of A, B, and C (the vertices).

D x y
E x y
F x y