Find the MLE of the distribution having the following pdf

, ,

Attempt to a solution:

Likelihood function

Log likelihood function

But then taking the derivative with respect to it makes disappear.

I feel like i missing something especially with the bounds of x and