two candles, each initial length of 30cm, are 20cm apart. the thinner candle burns at a rate of 1cm every 8 minutes and the other candle burn at a rate of 1 cm every 10 minutes. find two possible lengths for the distance between the tops of the two candles, if the candles can burn up for 3 hours.