Answer:
y = 1/2x - 3.5
Explanation:
so lets start by finding the equation of the line AB
we know the y-intercept is 4 from the point 0,4 so we know it'll look something like this
y = mx + 4 and we can plug in the other point we know -> 0 = m(-2) + 4 -> 4 = m(-2) -> m = -2 so the full equation of the line is y = -2x + 4
ok now we can find the other line. we know that perpendicular lines have an opposire reciprocal slope so in this case -2 would turn into 1/2
y = 1/2x + b
now lets plug in point C
-1 = (1/2)(5) + b
-1 - (2.5) = b
-3.5 = b
so the equation is y = 1/2x - 3.5