Answer:
y = x + 7
Step-by-step explanation:
The equation of a line in slope - intercept form is expressed as y = mx+c
m is the slope
c is the intercept
Get the slope m;
m = tan theta
m = tan 45
m = 1
Get the intercept c;
Substitute m = 1 and (-2, 5) into the equation y = mx+c and get c;
5 = 1(-2)+c
5 = -2+c
c = 5+2
c = 7
Get the required equation;
y = 1(x)+ 7
y = x + 7
Hence the equation of the line is y = x+7