Show that if A, B, C and D have coordinates (2, 1), (5, 4), (4, 5) and (1, 2) respectively, then
ABCD is a rectangle. Find the coordinates of the foot of the perpendicular from C to BD and
find the length of this perpendicular.