Given: Let $R$ be an integral domain. Assume that $R$ is not a field.
Previous part of the question asked me to prove that $(a)$ is not equal to $R$, which I have already done.
Let $I = (a, X)$ be the ideal of $R[X]$ generated by $a$ and $X$. Then $I =\{P\cdot a+Q\cdot X: P,Q\in R[X]\}$. Assume that $I$ is principal, so there is some $p\in R[X]$ such that $I = (p)$. Using the fact that $a\in (p)$, show that $p$ has degree $0$. (So $p$ is an element of R.)
So far, I have: since $a\in (p)$, $a$ is also an element of $I$. Therefore for some $P,Q ∈ R[X]$, $a=P\cdot a+Q\cdot X$.
From here, how do I show that $a$ has degree $0$, hence, $p$ has degree $0$. Am I on the right track?