This is a linear equation(no variable higher than^1)
All linear equations are straight lines.
To graph a straight line, you need only 2 points
For y=3x+1
Let x=0, then y=3(0)+1,y=1, Point is (0,1)
Let y=0, then 3x= -1, x= -1/3, Point is (-1/3,0)
Plot these 2 points.
Draw a line through the 2 points.
You're done.
You can use ANY x or y values to find 2 points
Pick x=3, then y=3(3)+1, =10, Point is (3,10)
Pick x=6, y=3(6)+1, =19, Point is (6,19)
Plot these, you get the same line.
We usually pick x=0 and y=0 because the arithmetic
is easier, but as I say, it works with any chosen value.