Let the length of the parallel sides be x and x − 8.
The height of the trapezium = 24 cm
Area of trapezium =
⇒ 312 =
⇒ 312 = 12(2x − 8)
⇒ 2x − 8 =
⇒ 2x − 8 = 26
⇒ 2x = 26 + 8
⇒ 2x = 34
⇒ x = 17 cm
Hence, the lengths of the parallel sides are 17 cm and 9 cm.