Answer:
k = -10/7 and k = -3
Step-by-step explanation:
Given: <em>y</em> = <em>kx</em> + 2
where k is the slope of line and 2 is y-intercept.
∵ line <em>y</em> = <em>kx </em>+ 2 is passing through point <em>P</em> (-7, 12), ∴ <em>x</em> = -7 and <em>y </em>= 12
Now substituting the value of x and y in above equation,
<em>y </em>= <em>kx</em> + 2
12 =<em> k</em>(-7) + 2
-7<em>k</em> = 12 - 2
- 7<em>k</em> = 10
In the same way, ∵ line <em>y</em> = <em>kx </em>+ 2 is passing through point <em>P</em> (3, -7), ∴ <em>x</em> = 3 and <em>y </em>= -7
<em>y </em>= <em>kx</em> + 2
Now substituting the value of x and y in above equation,
-7 =<em> k</em>(3) + 2
<em>3k</em> = -7 - 2
<em>3k</em> = - 9
<em>k</em> = -3