For each triangle, he drew 3 lines (one per side), so for 12 triangles, he drew 12 * 3 = 36 lines.
For each square, he drew 4 lines, so for 8 squares, he drew 8 * 4 = 32 lines.
For each pentagon, he drew 5 lines, so for 4 pentagons, he drew 4 * 5 = 20 lines.
In total, he drew 36 + 32 + 20 = 88 lines.
#### 88
The answer is: 88
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
After geometry class, Bill wants to count how many lines he drew. For each shape, he drew one line per side. If he drew 12 triangles, 8 squares, and 4 pentagons, how many lines did he draw?

### Answer:
