As we know that, P=RV2 ⇒R=PV2 ⇒R∝P1
Hence, the resistance of 25W bulb is greater than the resistance of 100W bulb
Now, both the bulb are joined in series so the current will be same
So, heat produced by the bulbs H=i2Rt ⇒H∝R
So, the heat produced by the 25W bulb is greater than the bulb of 100W, because its resistance is more than that of 100W bulb
Hence, 25W bulb will glow brighter