Midpoint
midpoint =
x
2
+ x
1
2
y
2
+ y
1
2
(5,3), (-2,4)
Let -2 = x
2
and 5 = x
1
Let 4 = y
2
and 3 = y
1
-2 + 5
2
4 + 3
2
= (3/2,7/2)
return