y= aX+b:-->, where a is the slope of the line and b, is the y-intercept.
when x takes a value of 0 then aX = 0 and then y =b (that's why b is the y-intercept ).
Accordingly, calculate the slope which is tan(theta) ( sin(theta)/cos(theta)= y/x)
put that value to be the (a) in the equation, and put the y-intercept (+7) in place of b
final eq--> y= tan(135)X+7