In the Arctic exhibit at the zoo there are polar bears and penguins. There are 54 animals and 126 legs. Determine the number of polar bears and penguins