hi
Slope is 2 .
here is how you do the trick : by reading on the graph
if you go forward of 1 on the X axis , how much did the line goes up or down ?
Here at 0 on X- axis, we are at 0 on the Y- axis.
If you go forward of 1 on X axis, you are at 2 on Y axis.
So the slope is + 2
Other technique by calculus between two points.
Take two diffents point on the X axis. Call them A and B
Slope is : ( f(A) -f(B) ) / A-B
exemple here : we have two easy points . Take 0 as A and 1 as B
We read on the graph :
A = 0 and B = 1
f(A)= 0 and f(B) = 2
Now we apply formula :
( f(A) -f(B) ) / (A-B )
(0 -2 ) / (0-1) = -2/-1 = 2
Slope is 2
Easy, dont you think ?