I want to know examples of the following statements.

If $V=S\bigoplus T=S'\bigoplus T'$, then $S\approx S'$ does not imply $T\approx T'$.

If $S$ is a subspace of both of the vector spaces $V$ and $W$, then $V\approx W$ does not imply $\frac {V}{S}\approx \frac {W}{S}$.