The 40W bulb, since it has higher resistance than the 60W bulb.
1 5 1
This only applies because they are connected in series. Higher the resistence, the greater the power offered by the bulb, and therefore greater brightness.
In parallel it's the opposite, the 60W bulb will glow more.