Basic property of exponets is
[tex] (x^{a} )^{b} = x^{a * b} [/tex]
The answer to the 1st problem.
The second is like this:
[tex] (xy)^{2} = (x^1y^1)^b = x^{1*b}y^{1*b} = x^by^b [/tex]