Answer:
Your friend is correct.
Explanation:
You have 3 dogs and 5 cats; that makes [8] pets. Now, add up the rest of your pets (excluding dogs and cats, of course).
7 (squirrels) + 8 (birds) + 10 (lizards) + 4 (beetles) = [29] pets
[8:29]
By the looks of it, the mistake made here was adding up everything when calculating the second part of the ratio, including the dogs and cats (this shouldn't have been done).
Hope this helps, and have a good one.