Raise q to the 5th power, then find the quotient of the result and r q to the 5th power: q^5 Quotient of this and r q^5/r