The fig above shows two similar bulbs X and Y connected to suitable power supply…