Make Q the subject of the formula

a) m=pQ
b) m=p²Q

a) Q=m/p

b) Q=m/p²