Explanation
Step 1
[tex]y=3x-1[/tex]
this is the equation of a line in the form
[tex]\begin{gathered} y=mx+b \\ \text{where} \\ m\text{ is the slope and b is the y intercept} \end{gathered}[/tex]to graph the line, we need at least 2 points,
let
P1, when x=0
[tex]\begin{gathered} y=3x-1 \\ y=3\cdot0-1 \\ y=0-1 \\ y=-1 \\ \text{hence} \\ P1(0,-1) \end{gathered}[/tex]now, P2
when x= 2
[tex]\begin{gathered} y=3x-1 \\ y=3\cdot2-1 \\ y=6-1 \\ y=5 \\ \text{hence} \\ P2(2,5) \end{gathered}[/tex]Step 2
graph the line:
draw a line that passes trougth the points P1 and P2
I hope this helps you