Write the equation for the function graphed above
g(x)=

-(x+1)^2 + 3
move 3 units up, 1 unit to the left, and a reflection from x^2.