Some fish, some dogs and some children are swimming in a bay. There are 40 legs in total, twice as many heads as tails and more dogs than fish.

How many fish are in the bay?

**Lets look the soluiton step by step.**

- Fish hasn’t got any legs. Dogs have 4 legs and a child has 2 legs.
- All of them have heads.
- If we say there are
**x**tails there are**2x**heads.

**Let’s say a for child, b for dogs c for fish.**

- 4b + 2a = 40 (i)
- 2c = a + b (ii)
- c > b (iii)

from (i) and (ii) 2b + 4c = 40 .. in the question said that c > b and 4b + 2a = 40 .. Now, let’s look the opitons because this riddle have 3 answers.

for b = 2, c =9, a = 16

for b = 4, c = 8, a = 14

for b = 6, c = 7, a = 8