A plant nursery is growing a tree that is 3 feet tall and grows at an average rate of 1 feet per year. Another tree at the nursery is 4 feet tall and grows at an average rate of 0.5 feet per year. After how many years will the trees be of the same height?