Not sure here.

The Variable

follows a chi-square distribution with degrees of freedown of each model. The likelihoods are maximized under the null hypothesis ( ) and under the alternative (MLE).

Since you already the likelihood, you know , as is given. Finally, is just the MLE (the point where the likelihood is a maximum) and then the variable can be obtained.

Again, not 100% sure...