how do you equations like these? help a bro out pls

First solve for y
3x-y-2=1
subtract 3x from each side
-y-2=-3x+1
add 2 to both sides
-y=-3x+3
divide each side by -1
y=3x-3
To graph you could make a table:
x y
0 -3
graph that.... point and use rise over run for slope 3/1 and graph.