Write in index form f/g*f/g

f^2/g^2 = f^2 g^-2