I want to find the MLE of $X = \theta{Y}$, where $\theta > 0$ and $Y \sim \mathrm{Beta}(2,1)$. The density for $X$ is given by $$f_{\theta}(x) = \frac{2x}{\theta^{2}}$$
on $[0,\theta]$.
It has been a bit problematic finding the MLE here (for fixed $x \in [0, \theta]$, doesn't seem to be any value $\hat{\theta}$ that maximizes this function). I'd appreciate any help with this.