mx+2my-m-x-y+5=0
m(x+2y- 1)=x+y-5
Because no matter what the value of m is, it will pass a point, so
only
x+2y- 1=0,
x+y-5=0
therefore
solve
x=9,y=-4