G(x) = 5x , for simplicity, replace G(x) with y, y = 5x
replace every x with y and every y with x, x = 5y
Solve for y, divide both sides of the equation by 5, x/5 = (5y/5), x/5 = y, rearrange terms y = x/5
Replace y with G-1(x), then G-1(x)= x/5 is the inverse function of G(x)=5x