Explanation:
Gradient is the measure of steepness. Let's call it λ
It's given by:
λ=y'-y/x'-x We only need two points of the line to find the x-es and y-s.
Let's pick (1,0) and (2,2) cause they're easy to calculate with
So y'=2, y=0, x'=2,x=1
Then: λ=(2-0)/(2-1)= 2