A gardener is planting two types of trees. Type A is 2 feet tall and grows at a rate of 22 inches per year. Type B is 3 feet tall and grows at a rate of 21 inches per year. Algebraically determine how many years it will take for these trees to be the same height.