Hello!
To calculate the slope of a line you use the following equation.

The ones and twos just represent different points on the line. We will have (0,0) be (

) and (6,-2) be (

)
Now we will plug these values into the equation.

The slope of our line is

I hope this helps!