What is the slope of this function?Describe the meaning of this slope:As the inputs

Given the graph of a line
As shown, the line passes through the points (0, -2) and (1, 2)
the slope of the line will be as follows:
[tex]slope=\frac{rise}{run}=\frac{y_2-y_1}{x_2-x_1}=\frac{2-(-2)}{1-0}=\frac{2+2}{1}=4[/tex]the meaning of this slope:
The rate of change of the line = 4
That means y increases (4) units when (x) increases 1 unit