Option (D) is correct.
Explanation: After t hours the heights are 30−2.5t cm (P, until it burns out at t=12) and 22−1.2t cm (Q, until t=355). The amount by which P is taller is
(30−2.5t)−(22−1.2t)=8−1.3t
The condition "taller by more than 0 cm but by at most 3 cm" is the compound inequality
0<8−1.3t≤3
Left part: 1.3t<8, so t<1380. Right part: −1.3t≤−5, and dividing by −1.3 reverses the sign: t≥1350.
So 1350≤t<1380 (about 3.85 h to 6.15 h). Both candles are still burning then, because 1380<12.
Check: at t=1350 the heights are 13265 cm and 13226 cm, a gap of exactly 3 cm (allowed). At t=1380 both are 13190 cm, a gap of 0 cm (not allowed).
Why the other options are wrong
- (A) (1350,1380) makes both ends strict. "At most 3 cm" allows a gap of exactly 3 cm, which happens at t=1350.
- (B) [0,1380) ignores the 3 cm bound. At t=1 the gap is 6.7 cm.
- (C) [1350,12) uses "P is still burning" (t<12) instead of "P is taller". At t=7, P is 12.5 cm and Q is 13.6 cm, so Q is taller.