Answer:
Explanation:
To solve this, we need to list some equations. Letting variable d stand for dogs and p stand for parrots, we have:
d+p=40 (The number of dogs plus the number of parrots equals 40)
4d+2p=130 (Each dog has 4 legs and each parrot has 2 legs and they have 130 legs in total)
With this system of equations, we can quickly solve it for d and p.
Subtract:
4d+2p=130
- d+p=40
_________
3d+p=90,
p=90-3d
Substitution:
d+(90-3d)=40
90-2d=40
-2d=-50
d=25
Substitution to get p:
p+25=40
p=15
There you have it! There are 25 dogs and 15 parrots. To check our work,
25+15=40
4(25)+2(15)=100+30=130
I hope this helped! :)