On Ethan's farm he had 14 dogs and chickens. There were 14 heads and 48 legs. How many of each type did he have?
solving steps ?