The vertices of a quadrilateral ABCD has coordinates A(-1, 5), B(7, 10), C(5, -3), D(3, -1). Show that the quadrilateral is a rectangle.