A gardener is planting two types of trees:

Type A is three feet tall and grows at a rate of 15 inches per year.

Type B is four feet tall and grows at a rate of 10 inches per year.

Algebraically determine exactly how many years it will take for these trees to be the same height.