Im trying to prove the following version of Chinese Residue Theorem given as an exercise by Rotman in his Advanced Algebra Book which is somehow different from the common versions already proved in almost every book on the theme.
1) Prove that for $k$ field and $f(x),f'(x) \in k[x]$ are relatively prime, then given $b(x),b'(x) \in k[x]$, there exists $c(x) \in k[x]$ such $c-b \in \langle f \rangle$ and $c-b´\in \langle f´ \rangle$. Also, if $d(x)$ is a common solution, then $c-d \in \langle ff' \rangle$.
2)Prove that for $k$ field and $f(x),g(x) \in k[x]$ relatively prime, then
$$\frac{k[x]}{\langle f(x)g(x) \rangle} \cong \frac{k[x]}{\langle f(x) \rangle} \times \frac{k[x]}{ \langle g(x) \rangle}$$.
For the first part I got that there exist $r(x),s(x) \in k[x]$ such $f(x)r(x)+f'(x)s(x)=1$ then I should prove the existence of one $c(x) \in k[x]$ such $c(x)-b(x)=f(x)p(x)$ and $c(x)-b'(x)=f'(x)q(x)$ for some $p(x),q(x) \in k[x]$. Im troubled finding the desired $c(x)$. I understand that im required to prove that for an $d(x) \in k[x]$ such $c(x)-b(x)=f(x)d(x)$ and $c(x)-b'(x)=f'(x)d(x)$ then I should find a $g(x) \in k[x]$ such $c(x)-d(x)=[f(x)f'(x)]g(x)$. Here Im also troubled finding the desired $g(x)$ even if I suppose I already had proved the existence of $c(x)$ mentioned before.
For the second part Im trying to define a ring morphism $$\phi:\frac{k[x]}{\langle f(x) \rangle} \times \frac{k[x]}{ \langle g(x) \rangle} \to k[x]$$ which satisfies the first isomorphism theorem in order to prove the required isomorphism. My intuition says this morphism is given by something like $$\phi(a(x)+ \langle f(x)g(x) \rangle)= (a+ \langle f(x) \rangle, a+ \langle g(x) \rangle)$$. Rotman´s Advanced Algebra book mentions as an hint to think about the fact $\mathbb{Z}_{m} \mathbb{Z}_{n} \cong \mathbb{Z}_{mn}$ for $m$ and $n$ relatively prime.