write the sum of 18+27 as the product of their gcf and another sum