Given that three points a (5,1), B (- 4,4), C (m, 2) are on the same line, then the real number M=

Given that three points a (5,1), B (- 4,4), C (m, 2) are on the same line, then the real number M=

Let AB: y = KX + B
Then 5K + B = 1 - 4K + B = 4
∴k=-1/3 b=8/3
The line AB: y = - 1 / 3x + 8 / 3
∴-1/3m+8/3=2
∴m=2