Step-by-step explanation:
A(-2;1)
B (6;5)
(y-yA)/(yB-yA)= (x-xA)/(xB-xA)
(y-1)/4=(x+2)/8
8y-8=4x+8
8y=4x+16
y=½x+2 that is x-2y+4=0