The likelihood of a sample of independent x values is: (I assume there are n values in total)

use log likelihood...

simplify using log rules

Simplify the sums

try and finish yourself from there. if stuck, the solution is in the spoiler.

Spoiler: