Here is a Brut force method.
In a commutative ring with unity, $M \subset R$ is a maximal ideal if and only if $R/M$ is a field.
$(\Rightarrow)$ Suppose $M \subset R$ is maximal. Then $R/M$ is a commutative ring with $1$ and since $M \neq R$, $R/M \neq 0$ and let $a+M \in R/M$. I claim there exists a multiplicative inverse for this element. Consider the ideal
$$I=\{ar+m : \text{for some $r \in R,m \in M$}\}$$
You can check that $I \subset R$ is an ideal and since $a \in I$ and $M$ is maximal, we have that $I=R$ is the entire ring. Thus $1 \in I$ and we have
$$1=ar+m$$
which holds if and only if
$$1+M=ar+M=(a+M)(r+M)$$
thus $r+M \in R/M$ is the multiplicative inverse for $a+M$ and $R/M$ is a field.
($\Leftarrow$) Suppose $R/M$ is a field and suppose towards a contradiction that there exists an ideal $I \subset R$ with
$$M \subsetneq I \subsetneq R.$$
Let $a \in I \setminus M$ then $a+M \in R/M$ has a multiplicatice inverse as $R/M$ is a field, call it $r+M$, but then
$$1=(a+M)(r+M)=ar+M$$
thus
$$ar=1+m; \space \text{some $m \in M$}$$
But by properties of ideals we have
$$1 = ar-m \in I$$
forcing $I=R$ to be the whole of the ring as it has $1$ and $M \subset R$ is maximal.