A prisoner is trapped in a cell containing 3 doors. The first door leads to a tunnelthat returns him to his cell after 2 days’ travel. The second leads to a tunnel thatreturns him to his cell after 4 day’s travel. The third door leads to freedom after 1day of travel. If it is assumed that the prisoner will always select doors 1,2,and 3with respective probabilities 0.5,0.3, and 0.2, what is the expected number of daysuntil the prisoner reaches freedom?