For the following exercises, write a formula for the function $g$ that results when the graph of a given toolkit function is transformed as described.
The graph of $f(x)=x^{2}$ is vertically compressed by a factor of $\frac{1}{2},$ then shifted to the right 5 units and up 1 unit.