**Solution:**
Assuming 6 legs for each insect, 27 insects will have 162 legs.

But, there are 182 − 162 = 20 extra legs.

It is important to note that spiders have 8 legs and flies have 6 legs. So, there are 2 extra legs per spider on the web.

Thus, the 20 extra legs belong to 10 spiders.

**Alternative Solution through Equations:**
Let

*s* be the number of spiders and

*f* be the number of flies. Then,

*s* +

*f* = 27; and

8

*s* + 6

*f* = 182.

On solving the above two equations, we get

8

*s* + 6 (27 −

*s*) = 182; or

2

*s* = 182 − (6 × 27).

Thus,

*s* = 10.

**Food for thought:**
Wish to try another puzzle similar in concept to this one?

Then click here.