Answer:
C. y = |x+4| - 2
Explanation:
Let's split the given graph into two parts, x <-4 and x > -4.
When x = -6, y = 0. When x = -4, y = -2. So the slope of the line is (-2-0)/(-4+6) = -1.
As the line passes through (-6,0), the equation of the straight line is
y - 0 = -1 * (x - (-6) )
=> y = -(x+6) for x <= -4,
or y = -(x+4) - 2. for x+4 <=0 -------(1)
For x >= -4, we can clearly see that the slope of the rising straight line is is +1. It passes through (0,2). So
y - 2 = 1 (x - 0)
y = x + 2, for x >= -4 or
y = (x + 4) - 2 for x+4 >=0 ----------(2)
Thus the equation of the graphed function is
y = |x+4| - 2.