Question 1176657
an equation for the line in slope-intercept form:

{{{y=mx+b}}} where {{{m}}} is a slope and {{{b}}} y-intercept

if line passing through ({{{-2}}},{{{ -5}}}) and ({{{-6}}}, {{{-6}}}) we can use them to find a slope first

{{{m=(y[2]-y[1])/(x[2]-x[1])}}}

{{{m=(-6-(-5))/(-6-(-2))}}}

{{{m=(-6+5)/(-6+2)}}}

{{{m=-1/-4}}}

{{{m=1/4}}}


so far we have

{{{y=(1/4)x+b}}}........use one point to calculate {{{b}}}

{{{-5=(1/4)(-2)+b}}}

{{{-5=-1/2+b}}}

{{{b=-5+1/2}}}

{{{b=-9/2}}}


your equation is

{{{y=(1/4)x-9/2}}}


{{{drawing( 600, 600, -10, 10, -10, 10,
circle(-2,-5,.12),locate(-2,-5,p(-2,-5)),
circle(-6,-6,.12),locate(-6,-6,p(-6,-6)),
 graph( 600, 600, -10, 10, -10, 10, (1/4)x-9/2)) }}}