The equation of a line:

m - the slope, b - the y-intercept
The y-intercept of the first line is -6.

It passes through (x,y)=(-2,4). Plug the values into the equation and calculate m:

The slope of the first line is -5.
The product of the slopes of two perpendicular lines is -1.

The slope of the second line is 1/5.

It passes through (x,y)=(5,-4). Plug the values into the equation and calculate b:
