How to expand and simplify $(p^y * (pq)^o) / (p^{(2y+o)} * q^{(o-2)})$?

I'm a beginner to maths and have trouble simplyfying the following function:

$$\frac{p^y \cdot (pq)^o}{p^{2y+o} \cdot q^{o-2}}$$

The final answer is

$$p^{-y} \cdot q^2$$

But I'm not sure how to get there.

Any help is appreciated.

-