Answer:
32 Hamsters and 18 Birds
Step-by-step explanation:
B+H=50
2B+4H=164
H=50-B
4(50-B)+2B=164
200-4B+2B=164
200-2B=164
-2B=164-200
-2B=-36
-2B/-2=-36/-2
B=18
---
50-18=32
H=32
---
CHECK: 18+32=50
CHECK: 18 X 2=36 LEGS
CHECK: 32 X 4= 128 LEGS
CHECK: 128+36=164 LEGS IN TOTAL