Let and .
In series, the same current flows through both bulbs. The power consumed by the resistor in the circuit depends on the resistance of the resistor and this resistor could be calculated as:
And
From the above calculations, the bulb 25 W has a higher resistance, therefore, it has a higher voltage drop. The higher voltage bulb will burn the 25 W bulb. As both bulbs are connected in series across 240 V, we can get the current flows through both using Ohm’s law.
The voltage drop across 25 W will be
This voltage drop is enough to burn the bulb.
Thus, 25-W bulb burned out immediately.