The graph of a piecewise defined function is given. Evaluate f(-1), f(1), and f(2). Please help ASAP

Answer is Option B
The function is derived in parts, from this function, we are asked to determine the output values when evaluating f(-1), f(1) and f(2).
This means that when the input values are:
[tex]x = - 1[/tex]
[tex]x = 1[/tex]
[tex]x = 2[/tex]
We must find it's output values, .i.e., it's y-axis values.
For this, we look at the graph and realize that:
[tex]f( - 1) = - 1[/tex]
[tex]f(1) = 2[/tex]
[tex]f(2) = 5[/tex]
So, we can say that the answer is Option B