Two different lines are shown below with two points given from each line. Use the slope-intercept form or point-slope form to find the equation of each line.

Line A

Points: (–5, –2), (–5, 7)

Line B

Points: (7, –5), (–2, –5)

Line A has
.
The equation of line A is
.
Line B has
.
The equation of line B is
.