Equation of the line passing through (1,2) and parallel to the line y=3x−1 is
y−2=3(x−1)
From the equation y=3x−1, we see that the slope of the line is 3.
[Equation of a line when its slope and y-intercept are known is given by y=mx+c, where m is the slope of the line and c is the y-intercept].
We know that if slope(m) and a point (x,y) of a line are known, then equation of the line is given by y−y1=m(x−x1).
Then, we must have, y−2=3(x−1)
This is the equation of the line passing through (1,2) and parallel to y=3x−1.