P(2,-4)是两条直线的交点,故:
2k - (-4) + b = 0 .(1)
2b - (-4) = 0 .(2)
解联立方程(1) (2)得 k = -1 b= - 2
所以,y = kx + b 的关系式是:y = -x -2