You can
put this solution on YOUR website!First find which line segment refers to the hypotenuse:
Compute the following distances, PQ,PR,QR using the distance formula

You should find the following:
PQ = 5.65
PR = 8.48
QR = 10.19
Verify it is a right triangle by showing:

Therefore QR is the hypotenuse of this right triangle.
The altitude or height of this triangle is represented by PQ.
We need to determine the equation of the line passing through points P and Q.
Determine slope of the line by using slope formula:

P (-1,1) Q(3,5)

slope of the line equals 1
Point-slope form:
(y -y1) = m(x - x1)

Now it is in slope-intercept form
They want it in standard form: Ax + By = C
Just move the x to other side
Subtract x on both sides