Let, n be the no. of photons emitted by bulbs per second & W be the wattage of yellow bulb.
Since,Total energy=n×Energy of one photon
For red bulb, 100=n×124008000×1.6×10−19 ...(i)
For yellow bulb, W=n×124004000×1.6×10−19 ...(ii)
Since value of n is same for both bulb, we can equate (i) and (ii).
W=200 watts