This is LaTeX code:
[latex]
\varphi(rq^{-1})
[/latex]