Difficult# Shortest Wavelength

SATPHY-QJE74L

The diagram below represents the energy states for a particular atom. The energies $W, X, Y$, and $Z$ are all positive and are in Joules.

What is an expression for the shortest wavelength (in meters) that can be emitted by this atom when an electron falls from some higher energy state into the energy state where $n = 2$?

The answer is in terms of the numbers and/or symbols in the diagram and fundamental constants (like the speed of light,$c$, and Planck's constant, $h$).