Suppose that the time to failure $T$ of a certain hinge is an exponential random variable with probability density
$$f(t)=\theta e^{-\theta t}, \quad t>0$$
From prior experience we are led to believe that $\theta$ is a value of an exponential random variable with probability density
$$\pi(\theta)=2 e^{-2 \theta}, \quad \theta>0$$
If we have a sample of $n$ observations on $T,$ show that the posterior distribution of $\Theta$ is a gamma distribution with parameters
$$\alpha=n+1 \quad \text { and } \quad \beta=\left(\sum_{i=1}^{n} t_{i}+2\right)^{-1}$$