So I have a paper I'm writing for a class that requires me to include a proof. I have the proof all sorted out on paper but I'm having a very hard time figuring out where to begin in Latex. I need to include the picture below as a lemma so it will appear in the equation listed in the code below. I already have \newtheorem{lemm}{Lemma} at the top of my document. Basically, if I can figure out how to code the equation from the image into Latex as a lemma, I think I'll have everything I need to code the rest of the proof. I'm very new at Latex so this is a daunting task for me. Any feedback or suggestions would be much appreciated.
\begin{lemm}
A(x)B(x)=
\end{lemm}

