Let $M,N$ be $R$-modules; $A \subset M, B \subset N$ be their respective submodules. Show$\frac {M\oplus N}{ A\oplus B} \simeq \frac M A\oplus \frac N B$.
This is a book excercise I was working on, below is the proof I have been working on; I wanted to know if I made any mistakes.
Let $A'$ be a submodule where $A \oplus A'=M$ and $B'$ be a submodule where $B \oplus B'=N$.
LHS $\simeq \frac {A \oplus A' \oplus B \oplus B'}{A\oplus B} \simeq A' \oplus B'$
$\frac M A \simeq \frac {A \oplus A'}A \simeq A'$ and $\frac N B \simeq \frac {B \oplus B'}B \simeq B' \Rightarrow $ RHS $\simeq A' \oplus B'$
LHS=RHS