直线PQ的斜率k=(0-2)/(-5-1)=1/3
直线PQ//AB,则AB的斜率=k,即
(m-1)/(-1-m)=1/3
m=1/2
直线PQ⊥AB,则AB的斜率=1-/k,即
(m-1)/(-1-m)=-3
-4