Are the rings $R=\mathbb{Z}[x]/(x^2+7)$ and $R'=\mathbb{Z}[x]/(2x^2+7)$ isomorphic?
I tried to use this method:
Suppose there exists an isomorphism $\phi$ such that $\phi$ sends $2|_R$ to $2|_{R'}$. Then set $$A=\dfrac{\mathbb{Z}[x]/(x^2+7)}{(2)},\ B=\dfrac{\mathbb{Z}[x]/(2x^2+7)}{(2)}.$$
It's easy to see that $A$ and $B$ aren't isomorphic. So $R$ and $R'$ aren't isomorphic. Is it right?
Short answer: yes.
In general, if $\phi: R \rightarrow S$ is a ring isomorphism and $I \subset R$ an ideal, then $\phi': R/I \rightarrow S/\phi(I)$ is also an isomorphism. Now suppose that $\phi: R \rightarrow R'$ is an isomorphism. Clearly, $\phi(2) = 2$, so if we let $I = (2)$, then $\phi(I) = (2)$. But $R/(2)$ is not isomorphic to $R'/(2)$, as stated in your question. This contradicts the fact that $\phi$ is an isomorphism, so no isomorphism $R \rightarrow R'$ exists.