Step 1: Calculate midpoints (x): \[ \text{Class midpoints: } 5, 15, 25, 35, 45 \] Step 2: Create frequency × midpoint table:
Step 3: Apply the direct mean formula: \[ \text{Mean} = \frac{\sum fx}{\sum f} = \frac{1060}{40} = \boxed{26.5} \]