Explanation:
y=2x-2
That's the slope equation so to graph it you need to find -2 on the y axis (that's the straight up and down one) It will be 2 dots below 0,0 (where the x axis and y axis cross) You can do this with any equation by taking this number
Y=_x ( the one here)
If it is positive it will have a + if it is negative it will have a -
From the -2 you go up 2 points then over 2. Then repeat that and draw a line on the points it hits.
That's your line. You do that because the 2 before the x is the slope.