y=x-2 is the equation of a line.

To graph, determine the x and y intercepts.

The x intercept is calculated by substituing y=0 into the equation.

`x-2=0`

Then `x=2` is the x intercept.

The y intercept is calculated by substituting x=0 into the equation.

`y=0-2`

Then the `y=-2` is the y intercept.

Graph the line:

By looking at the graph, the points (3,1) and (-2,-4) are on the line.

This can also be verified by substituting 3 for x and 1 for y in the equation,

1=3-2

or substituting -2 for x and -4 for y:

-4=-2-2

The equation of the line could also be derived using those points using the form:

`(y-y_1)=(y_2-y_1)/(x_2-x_1)(x-x_1)`

Substitute 1 for `x_1`, 3 for `y_1`, -2 for `x_2` and -4 for `y_2`

`(y-1)=(-4-1)/(-2-3)(x-3)`

`y-1=x-3`

`y=x-2`

Or

`(y-y_2)=(y_2-y_1)/(x_2-x_1)(x-x_2)`

`(y+4)=(-4-1)/(-2-3)(x+2)`

`y+4=x+2`

`y=x-2`