Let the resistance of 40W bulb be R1 and 100W is R2.
It is given that 40W bulb is giving rated output, hence it means the voltage difference R1 is 220V.
The current in the series circuit is I, and it can be calculated as
Voltage by the battery is V = I(R1+R2)
Study 40% syllabus and score up to 100% marks in JEE