Question 1133367
Points (x,y) are  (-2, -2) and (4, -20).


Slope,  {{{(-20+2)/(4+2)=-18/6=-3}}}


Take either point to setup an equation:
{{{-3=(y-(-2))/(x-(-2))}}}

{{{-3=(y+2)/(x+2)}}}

{{{y+2=-3(x+2)}}}

{{{y=-3x-6-2}}}

{{{y=-3x-8}}}


as function,  {{{highlight(f(x)=-3x-8)}}}