The equation of any given line is: 
y = mx + c 
Where the m is gradient, the y is the y-axis, the x is the x-axis and the c is the y-intercept. 
Given gradient to be 3, the coordinate (1,10). Let’s substitute the values into the equation. 
Let m = 3
y = 10 
x = 1
10 = 3(1) + c 
Given this equation we have to solve for c. 
10 = 3(1) + c
10 = 3 + c 
10 - 3 = c 
7 = c 
Therefore, c which is the y-intercept is 7. 
Now we rewrite the equation of the line with the c value. 
y = 3x + 7