[
  "The carpet has a 1 m margin on all sides, so subtract 2 m from both the length and width.",
  "Carpet area = (31 minus 2) times (18 minus 2) = 29 times 16 square metres.",
  "Multiply the carpet area by $21 per square metre to get the total cost."
]