The following questions I don't understand, could you please help me? Thanxs!

Evaluate the piecewise function at the given value of the independent variable.

3. g(x){x^2+2 if x can not equal 2 {x+8 if x=2

Determine g(-5)

options: a.-5, b.3, c.3/7, d. -27/7

4.f(x) {-5x+4 if x< -3 {2x+3 if x > or equal to -3

Determine f(-7)

options: a.39, b.-10, c.42, d.35

1 answer

On the first g(-5)=25+2=27
On the second f(-7)=35+4=39