You have two similar candles. Candle A is 12 inches long and burns at a rate of 1 inches
per hour. Candle B is 9 inches long and burns at a rate of 0.5 inches per hour.
If both candles were lit at the same time, how many hours would it take for both candles
to be the same length?