Check the final answer first, then review the worked steps.
(6^2 + 27) \div (1 + 12 - 6) = (36 + 27) \div (13 - 6) = 63 \div 7 = 9