(i) 48=6×8=2×3×2×2×2. In increasing order:
48=2×2×2×2×3
(ii) 45=5×9=5×3×3. In increasing order:
45=3×3×5
(iii) Total pencils =48×45. The prime factorisation of a product is found by putting the two prime factorisations together:
48×45=2×2×2×2×3×3×3×5
(This is 2,160 pencils.)
(iv) 27=3×3×3. The total has three 3s, so 27 is included: the pencils can be shared among 27 classes. Each class gets the primes left over, 2×2×2×2×5=80 pencils.
32=2×2×2×2×2 needs five 2s, but the total has only four 2s. So the pencils cannot be shared equally among 32 classes.