Given that (1, -2), (0, 5) and (-3, 1) are the vertices of a right triangle, how do you determine an equation of the line that passes through the endpoints of the hypotenuse?