Answer
Please see the work below.
Work Step by Step
We know that wen an electron hits a metal int the cathode ray tube, it can knock an electron from an inner shell of the atom and thus a metal ion is produced. Thus, the electronic configuration becomes unstable and a photon is emitted which corresponds to x rays region.