find the equation of the line:
![find the equation of the line class=](https://us-static.z-dn.net/files/d8b/a4282f145c07bb2ca6a385d81ef39cc9.png)
The slope of AB is (0-4)/(-2-0)=2, so since perpendicular lines have negative reciprocal slopes, the slope of the perpendicular line is -0.5.
So, the equation of the line is:
y + 1 = -0.5(x - 5)
y + 1 = -0.5x + 2.5
y = -0.5x + 1.5