We now that,
P = \(\frac{V^2}{R}\)
R = \(\frac{V^2}{P}\)
Now, as all the bulbs are given the same voltage so resistance of the 40W bulb is the greatest.
As the bulbs are connected in series so the current through the bulbs are the same
P = i2R
So the power if the 40W bulb is the greatest and the power dissipated gives the glow of the bulb.