Which function g(x) represents the function f(x)=(x+5)2+2 after a vertical shift 2 units up and a horizontal shift 4 units to the left?