Answer:
We get value of n=7
Step-by-step explanation:
If points lie on same line, they have same slope.
First we will find slope of points (3,5), (−1,3)
Using formula: 
We have 
Finding slope

Using slope 1/2 and points (−1,3), and (7,n) we can find value of n

So, we get value of n=7