Answer:
n=6 using "rise-over-run"
Explanation:
Given: Line passes through origin (0,0), (-1,1)
You can use the to "given" points to find the slope between the two points. Calculate slope by using "rise-over-run":

Calculate:

The slope comes out to be -1. Plug the slope (-1) the equation below.



Add n to the other side to find it is 6