Logan genetically engineered a new type of fir tree and a new type of pine tree. The combined height of one fir tree and one pine tree is 21 meters. The height of 4 fir trees stacked on top of each other is 24 meters taller than one pine tree. How tall are the types of trees that Logan genetically engineered?