四、(20%) Let X₁, X₂, ..., Xₙ be a random sample from distributions with the following probability density functions: $$f(x; \theta) = \frac{1}{2\theta^2} x^2 e^{-x/\theta}, 0 < x < \infty, 0 < \theta < \infty.$$ Please find the maximum likelihood estimator $\hat{\theta}$.