Let $X,Y$ be two random variables with exponential distribution and their rates are $\gamma, \beta $. Let $Z$ be a random variable such that $Z = min\{X, Y\}$.
How do I prove that the density function of $Z$ is $(\gamma+\beta)e^{-(\gamma+\beta)x}$ for $x\geq0$ and $0$ for $x<0$?