The Bayes' Theorem is used to calculate conditional probabilities, that is, the probability of occurrence of an event given another event has already occurred.
The formula is:

Let's call:
Event A = Eat pizza for dinner
Event B = Go to bed early
We are given the following probabilities:
P(A) = 65% = 0.65
P(B) = 58% = 0.58
P(B|A) = 82% = 0.82
Substituting:

Answer: 91.90%