Please help me with this math problem!! Will give brainliest!! :)

Answer:
A. 17
B. 16
Step-by-step explanation:
F(5)
5 > 2 so you plug the 5 into 3x+2
F(-2)
-5 < -2 < 2 so you plug the -2 into (x-2)^2