A geometry teacher drew some quadrilaterals on the chalkboard. There were 5 trapezoids, 12 rectangles, 5 squares, and 8 rhombuses. What is the least number of figures the teacher could have drawn?

20

To find the least number of figures the teacher could have drawn, we need to add up the number of trapezoids, rectangles, squares, and rhombuses.

The teacher drew:
5 trapezoids
12 rectangles
5 squares
8 rhombuses

To find the least number of figures, we can add up these numbers:

5 + 12 + 5 + 8 = 30

Therefore, the least number of figures the teacher could have drawn is 30.