I have no idea how to approach this kind of questions...
There is train A which arrives according to an Exponential distribution with parameter $\lambda$, and train B which arrives according to an Exponential distribution with parameter $\mu$.
Solve for the distribution of T, the amount of time a person will wait before either A or B arrives.
John wanted to take train A to go to the party, but he realized that he would arrive too early. So he decides that he will wait for the second arrival of train A. Find the distribution of Z = $X_1 + X_2$, the amount of time that John will wait to take the train.