we know that
the equation in slope intercept form is equal to
y=mx+b
in this problem we have
m=-1/4
point (-4,2)
substitute the given values in the expression above and solve for b
so
2=(-1/4)*(-4)+b
2=1+b
b=1
therefore
the equation is
y=-(1/4)x+1
option D