A candle is 30 in. long. After burning for 12 min, the can- dle is 25 in. long. If it continues to burn at the same rate, how long will it take for the whole candle to burn?​