When i babysit, i get 4 dollars for showing up, and them 2 dollars for every hour that im there. X=hours
Given:
The line passing through (-2,5) and (2,p) has a gradient of
.
To find:
The value of p.
Solution:
If a line passes through two points, then the slope of the line is:

The line passing through (-2,5) and (2,p). So, the slope of the line is:



It is given that the gradient or slope of the line is
.

On cross multiplication, we get




Divide both sides by 2.

Therefore, the value of p is 3.