A pet shop has only birds and dogs.If there are 30 pets and they have a total of 86 legs, how many of the pets are birds? please give me the all answer

1 answer

X birds.
Y dogs.

Eq1: x + y = 30.

Eq2: 2x + 4y = 86.
Multiply Eq1 by -4:
-4x - 4y = -120
+2x + 4y = 86.
Sum: -2x = -34, X = 17 birds.