Let x be the number of puppies (each of which has 4 feet) and y be the number of parrots (each of which has 2 feet). The equations that would best represent the question are,
x + y = 15
4x + 2y = 50
The values of x and y are 10 and 5, respectively. Therefore, there are 10 puppies and 5 parrots.