An unknown particle with rest energy of $1 \text{ MeV}$ is traveling with a speed of $0.6c$ along the $x$-axis in our rest frame when it decays into two photons, also travelling along the $x$-axis. What are the energies of the photons in $\text{MeV}$?
I've been trying to learn special relativity recently and came across this question, but all I really know is basic length contraction and time dilation. Would solving this use similar concepts and how should I go about it?