Answer:
In this problem, the answer is n = 3
Explanation:
Since we are just looking for what the exponent "n" on the q in the middle is, we can really ignore each p and r. They will not affect the equation at all since we are only dealing with the q terms. This leaves us with this below.
q^2 * q^n = q^5
Since we add together exponents when multiplying we know.
2 + n = 5
And using basic algebra, we can tell that n = 3