The equation for slope is

, where y₁, y₂, x₁, and x₂ are the y- and x-values of two coordinates, respectively. The values would be as follows:
y₁ = 4
y₂ = 6
x₁ = 0
x₂ = 2
If you substitute these values into the equation, the numerator becomes

, which simplifies to -2.