Given that cos x = e^jx + e^-jx /2 prove that 2cs^2(x)-1 =cos2x

I know that the second part is double angle formula (not that that helps me prove the identitie) But i dont understand what the first part has to do with it. I'm fairly sure its demoivres. But that's the limit of what i understand.