Suppose we have 2 random variables, $S\sim Exp(\lambda)$ and $T\sim Exp(\mu)$. Let $U=\min(S,T)$ and $V=\max(S,T)$.
What is the variance of $W=V-U$?
I calculated:
$Var(U) = \frac{1}{(\lambda+\mu)^2}$
$Var(V) = \frac{1}{\lambda^2} + \frac{1}{\mu^2} + \frac{1}{(\lambda+\mu)^2}$
But I don't know how to proceed further.

Note that $$W = V - U = |S - T|.$$ Then note $$\operatorname{Var}[W] = \operatorname{E}[|S-T|^2] - \operatorname{E}[|S-T|]^2.$$ if $S$ and $T$ are independent, then $$\operatorname{E}[|S-T|] = \int_{s=0}^\infty \int_{t=0}^s (s-t) f_S(s) f_T(t) \, dt \, ds + \int_{s=0}^\infty \int_{t=s}^\infty (t-s) f_S(s) f_T(t) \, dt \, ds.$$ This turns out to be, for scale parameters $\operatorname{E}[S] = \lambda$, $\operatorname{E}[T] = \mu$, $$\operatorname{E}[|S-T|] = \frac{\lambda^2 + \mu^2}{\lambda + \mu}.$$ Then the rest is trivial, since $|S-T|^2 = (S-T)^2 = S^2 - 2ST + T^2$: $$\operatorname{Var}[W] = 2\lambda^2 - 2 \lambda \mu + 2 \mu^2 - \left(\frac{\lambda^2 + \mu^2}{\lambda+\mu}\right)^2 .$$