Candle A has an initial height of 11 inches. Once lit, candle A melts at a constant rate of 0.45 inch per hour. Candle B has an initial height of 7 inches and melts at a constant rate of 0.25 inch per hour. If the two candles were lit at the same time, how many hours until both candles are the same height?