contestada

Cristy has ten pets including cats, birds, and hamsters. She has twice as many hamsters as cats.
Together, her pets have a total of thirty-eight legs. How many of each kind of pet does she have?