Consider a random sample $X_1, X_2, \dots, X_n$ from the shifted exponential PDF
$$f(x; \lambda, \theta) = \begin{cases}\lambda e^{-\lambda(x-\theta)} ;& x \geq \theta\\ \theta ; &\text{Otherwise}\end{cases}$$
Taking $\theta = 0$ gives the pdf of the exponential distribution considered previously (with positive density to the right of zero).
a. Obtain the maximum likelihood estimators of $\theta$ and $\lambda$.
I followed the basic rules for the MLE and came up with:
$$\lambda = \frac{n}{\sum_{i=1}^n(x_i - \theta)}$$
Should I take $\theta$ out and write it as $-n\theta$ and find $\theta$ in terms of $\lambda$?