I want to display the following
I'm trying to realize it with the following code
\documentclass{article}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}
\begin{equation}
\begin{cases}
&a + b\
& b + c
\end{cases} \implies
\begin{cases}
& c + d\\
& d + e
\end{cases}
\end{equation}
\end{document}
But this gives me a lot of errors and the wrong output

Does anyone know how to fix this?


equation. Or, if you want it for aesthetic/coding reasons, insert a%. – Werner Oct 21 '20 at 04:17