The formula below is often used by project managers to compute E, the estimated time to complete a job, where O is the shortest completion time, P is the longest completion time, and M is the most likely completion time.

Which of the following correctly gives P in terms of E, O, and M?