Answer:
k = 7
Explanation:
Find the coordinates of P using the midpoint formula
P = [
(2 + 5), 
(- 1 - 6) ] 
 = ( 
, - 
)
Since the line passes through P the the coordinates of P make the equation true.
Substitute the coordinates of P into the equation
2 × 
 + 4 × - 
 + k = 0, that is
7 - 14 + k = 0
- 7 + k = 0 ( add 7 to both sides )
k = 7