The angle of inclination of a line is passing through (4,5) and (a,-5)) is 45°. Find the value of a.

the slope is 1.

So, the line is

y = x+1