[
  "Find the marked price: $800 + 50% = $800 x 1.50 = $1200.",
  "Discount = marked price - selling price = $1200 - $840 = $360.",
  "Percentage discount = (discount / marked price) x 100 = 360/1200 x 100 = 30%."
]