Answer:
y= 3x-1
Explanation:
Slope-intercept form:
y=mx +c, where m is the gradient and c is the y-intercept.
Since the slope is 3, m=3.
subst. m=3 into the equation:
y= 3x +c
To find the value of c, substitute a coordinate.
When x=1, y=2,
2= 3(1) +c
c= 2-3
c= -1
The equation of the line is y= 3x -1.