[
  "Use the perimeter formula: P = 2 x (L + B).",
  "50 = 2 x (L + 8), so L + 8 = 25.",
  "L = 25 - 8 = 17. Answer: 17 cm."
]