I have been doing chemistry for way too long I am about to shoot myself and 27 innocent immigrants.

Here is the question:
How is the energy of a quantum related to the frequency of emitted radiation
Okay there are two possible answers, I suspect the first one is the one they are looking for but this could be another damn trick question

1)
anyway to find the energy of a photon you do the following:
energy = h(planck's constant) * frequency
2)
the other possible answer is that the energy of a quantum never changes because a quantum is the smallest 'packet' of energy that matter can gain or lose.

someone please tell me which they think is correct and why