Find the maximum likelihood estimator of for the probability function

Since I am very poor at latex,here are something that have gone missing like

1.It is the square root of 2pi at the denominator not only the square root of 2

2.It is e to the power -(x-theta)/2.