A person is trapped in a dark cave with three ways out. One of them leads to safety after 2 hours of travel while the other two would return him to the cave after 3 and 5 hours of travel respectively. Assuming that the person is equally likely to opt for any of the openings at all times, what is the expected length of time he spends travelling until reaching safety?

Please answer quickly,

Thank you.