There are two sources of light, each emitting

There are two sources of light, each emitting
with a power of 100 W. One emits X-rays of wavelength 1 nm and the other visible light at 500 nm. Find the ratio of number of photons of X-rays to the photons of visible light of the given wavelength.

Suppose wavelength of X-rays is X, and the wavelength of visible light