A(-1;14), x=-1, y=14
B(2;-10), x=2, y=-10
General equation for linear function is [tex]y=mx+b[/tex]
Let's solve system of equations
[tex]\displaystyle\\\left \{ {{14=-1m+b} \atop {-10=2m+b}} \right. \\\\\left \{ {{b=14+m} \atop {2m+b=-10}} \right. \\\\2m+(14+m)=-10\\3m=-24\\m=-8=>b=14+(-8)=6\\\text{Answer}: y=-8m+6[/tex]