Well You are translating up 5 units by using (y-5)

Remeber (x-a) translates a graph a units to the right and (x+5) translates to the left 5 units.

similarly (y-a) translates up a units and (y+a) translates down a units.

Think of the parabola y = x^2 with vertex at (0,0)

For y = (x-2)^2 the vertex is at (2,0) where y = 0 . A translation to the right of 2 units.

Hope this helps.