Let X be a random variable with the following probability distribution:

Let X be a random variable with the following probability distribution: $$f(x) = {θ + 1)x^θ/0, 0 ≤ x ≤ 1 otherwise Find the maximum likelihood estimator of θ based on a random sample of size n.