You can't solve for P in e = wp. That is because P is not anywhere in e = wp. You can solve for p in e = wp but P and p are NOT the same thing. You could also solve for P in e = wP. Either way if that is what you actually meant, then:
Divide both sides by
John
My calculator said it, I believe it, that settles it