Step-by-step explanation:
If it's a straight line the use formula
[tex]y = mx + c[/tex]
m= gradient of line
c = y-intercept
we know that y-intercept is 4 so coordinate is
(0,4)
Equation also passes (2,10)
Use both coordinate to find gradient
m= vertical distance / horizontal distance
= (10-4) / (2-0)
= 3
y = 3x + 4