Question: is x or y the rate of change?
Answer: The gradient of the line represent the rate of change. The formula is therefore the change in the y axis divided by the change in the x axis. In this example that equals 10 ÷ 40 = 0.25.