Quotients and direct products

Let R1,…,Rk be commutative rings, and set R=R1×⋯×Rk.
(a) Let Ij⊂Rj be ideals, and put I=I1×⋯×Ik. Use the First Isomorphism Theorem to prove that R/I≃R1/I1×⋯×Rk/Ik.
(b) Prove the prime ideals of R have the form R1×⋯×Rj−1×Pj×Rj+1×⋯×Rk where Pj⊂Rj is a prime ideal for 1≤j≤k. (Omit the proof that this is an ideal.)