Determine the equation of g(x) that results from the translating the function f(x)=x^2 +1 upward 5 units

A. g(x)=(x+6)^2

B. g(x) =(x+5)^2+1

C. g(x)=x^2-4

D. g(x)=x^2+6

I believe it is B. I did not even get close to any of the other answers. Is this correct or did I do this wrong? Please help