The complete graph of y=f(x), which consists of five line segments, is shown in red below. (On this graph, the distance between grid lines is 1.) What is the sum of the x-coordinates of all points where f(x) = 2?
Line 1: Slope = 2. Y-Intercept = 3. Equation: y = 2x + 3. When y = 2, x = -1/2.
Line 2: Slope = -1. Y-Intercept = -3. Equation: y = -x - 3. When y = 2, x = -5.
Line 3: Given. When y = 2, x = 1.
Line 4: Given. When y = 2, x = 1.
Line 5: Slope = 2. Y-Intercept = -3. Equation: y = 2x - 3. When y = 2, x = 5/2.
-1/2 + -5 + 1 + 1 + 5/2 = -1
Hope this helps!