The parabola got thinner, so to show that, you put a 2 <u><em>before</em></u> x²<em></em>to show that the graph was <em>dilated </em>(or thinned) by a factor of <em>2 </em>(Note: this number can also be <em>negative</em>, so if the dilation factor is negative, it's okay). Since the parabola shifts up by <em>1</em>, you then add + 1<em></em><em><u>after</u></em> x² to show the positive upward shift.
Your full equation would look like this: g(x) = 2x² + 1
Dilation: this just means that every point on the parent function was double (or whatever the factor is) in the transformed function.