3z^8 over 7p^3 multiplied 49p^5 over 9z

[(3z^8)/(7p^3)][(49p^5)/(9z)]

just group the like terms:
[(3z^8)/(9z)][(49p^5)/(7p^3)]

when you divide, you subtract the exponents.

[(3/9)z^(8-1)][(49/7)p^(5-3)]