Since both the original and transformed graph have the same x value for their vertex, there was no horizontal shift. However the vertex shifted up. Specifically it shifted up 5 units. Therefore:
The plus 5 performs a translation up 5 units. Plugging in for f(x) it can be seen that: