Answer:
k = -10/7 and k = -3
Explanation:
Given: y = kx + 2
where k is the slope of line and 2 is y-intercept.
∵ line y = kx + 2 is passing through point P (-7, 12), ∴ x = -7 and y = 12
Now substituting the value of x and y in above equation,
y = kx + 2
12 = k(-7) + 2
-7k = 12 - 2
- 7k = 10
![k = (-10)/(7)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/4ivmb4fp8bi6kqx8i64qnch1lajzhl7cij.png)
In the same way, ∵ line y = kx + 2 is passing through point P (3, -7), ∴ x = 3 and y = -7
y = kx + 2
Now substituting the value of x and y in above equation,
-7 = k(3) + 2
3k = -7 - 2
3k = - 9
k = -3