Show that if $R$ is an integral domain and $f(x)$ is a unit in the polynomial ring $R[x]$, then $f(x) \in R$.
Proceed by contraposition. Suppose $R$ is an integral domain, $f(x)$ is a unit in $R[x]$, but $f(x) \not\in R$. We show $f(x)$ is not a unit in $R[x]$.
Toward a contradiction, suppose $f(x)$ is a unit in $R[x]$, then there exists $f(x)^{-1} \in R[x]$ such that
$$f(x)f(x)^{-1}=1$$
Now, by the division algorithm,
$$\deg(f(x)f(x)^{-1}) = \deg(f(x)) + \deg(f(x)^{-1}) = \deg(1)=0$$
$$\implies\deg(f(x)) = \deg(f(x)^{-1})=0$$
Hence, $f(x) =a$ for some $a \in R$ but contradicts our assumption that $f(x) \not\in R$. Thus, $f(x)$ is not a unit in $R[x]$. By contraposition, the proof is complete.
Does this look good? I don't think there are any jumps in conclusions here but I want to make sure the order of logic is correct here; this proof combines contraposition and contradiction. Also, the fact that $R$ is an integral domain was not used.
EDIT: Based on the comments, a better (and direct) proof would go as follows:
$R$ is an integral domain $\implies R[x]$ is an integral domain$^{(\star)}$. If $f(x) \in R[x]$ is a unit of degree $n$ with inverse $f(x)^{-1}$ of degree $m$, then by $(\star)$,
$$\deg(f(x)f(x)^{-1})= \deg(f(x)) + \deg(f(x)^{-1}) = n+m = \deg(1)=0$$
$$\implies \deg(n)=\deg(m)=0 \implies f(x) \in R$$
$$\hspace{10cm} \blacksquare$$