tell whether segments joining midpoints rhombus form rectangle using coordinate methods

Tell whether the segments joining the midpoints of a rhombus form a rectangle using coordinate methods