Suppose we have two independent exponentially distributed arrival times $X_1$, $X_2$ having rates $\lambda$ and $\mu$. This means their corresponding expected waiting times are $1/\lambda$ and $1/\mu$ accordingly.
Now I'm looking for the expected waiting time for the following case:
Arrival of $X_1$ and then $X_2$ after maximum constant waiting time of $w_1$ ($X_2$ occurs in the interval $[0,w_1]$ after occurring $X_1$) or arrival of $X_2$ and then $X_1$ after maximum constant waiting time of $w_2$. (as shown in the picture)
To be more specific I'm looking for a coincidence of two variables in a given constant interval (interval $[0,w_1]$ if $X_1$ occurs first, $[0,w_2]$ if $X_2$ comes first). I have tried to compute the density function as suggested in the other stackexchange post but that doesn't give me the expected value as I expect. It is rather the density function of the intervals $w_1$ and $w_2$ and delivers the expected interval for $w_1$ or $w_2$ instead of the expected waiting time.
I try and reach no where, can anyone give me a hint on this?