Answer:
21 birds and 7 dogs
Explanation:
Represent Birds with B and Dogs with D
----- Total Animals
A bird has 2 legs and a dog has 4, so:
---- Legs
Required
Solve for D and B
Make D the subject in the first equation

Substitute 28 - B for D in the second


Collect Like Terms


Solve for B


Recall that:



Hence, there are 21 birds and 7 dogs