Bayes Theorem: Statement, Formula, and Solved Examples