A number of concepts included in the H2 syllabus are closely related to, or “discovered” through Einstein’s special theory of relativity. While the H2 syllabus only requires students to apply these concepts, I guess some students may be interested in their derivation as well.
But we’ll still skip all the relativity stuff, and start from
This is the equation for the kinetic energy K of a particle, derived from work-energy theorem (using relativistic force ).  If you do a binomial expansion, equation (1) will collapse to become the familiar for . Hopefully this bolsters your trust in the equation.
Anyway, Einstein interpreted the first term in the equation (1) to represent the total energy E of the particle, and the second term to be energy the particle has even when it is at rest (so that K is the energy due to motion only). Re-arranging the equation, we have
The energy mc2 comes to be known as the rest energy. It is from here that we get all that mass-equivalence stuff.
But this is not all that Einstein milked from this equation.
He wrote equation (2) as
Then, from relativistic momentum , he wrote
Then by doing , he got rid of v in the equations and arrived at
For a particle at rest (), the equation becomes
So , the most famous physics equation, is actually a special case of the more general equation (5).
For the other special case of massless particles (),equation (5) becomes
This suggests that a massless particle may have momentum despite not having any mass!
For photons which has energy , we obtain
This is where we obtain the formula for the momentum of a photon.
All de Broglie did was to assume that is equally valid for even massful particles travelling at non c speed, and voilà, de Broglie got his namesake formula (and a Nobel Prize).
 You’ll see the Lorentz factor all over the place. Don’t be too intimidated. Just take it as the factor by which stuff gets “distorted” when particles travel at speed close to c.