Dogs are 3 of the 7 equal units, and those 3 units are 21 dogs.

[[model:questions/solutions/q3409.png]]

• 3 units → 21 dogs
• 1 unit → 21 ÷ 3 = 7
• Total → 7 units = 7 × 7 = 49

The pet shop has 49 animals.
Check: dogs → $$\frac{3}{7}$$ of 49 = 21. ✓