To find the slope, you need to points of a line. These points (in this case) are (0,5) and (1,27)
There is a formula to figure out slope.
That is-
Slope= y1-y2
------------
x1-x2
What the equation is saying is that you subtract both the y coordinates and then subtract both the x coordinates. Finally, you divide the y coordinates by the x coordinates.
5-27=-22
0-1=-1
-22/-1=22
The slope is 22