use f(x)= { x^2 +5 if x ≤ 1

{ -x^2+4x+3 if x>1
to find the answers to the following:
1. f(2)
2. f(4)-f(-2)

F(2) = -2^2 + 4*2 + 3 = 7.

F(4) - F(-2) = -4^2 + 4*4 + 3 -
-((-2)^2 + 5) = 3 - 9 = -6.