Given the following expression:
The similar terms must have the same variable with the same exponents
So, note the following:
[tex]\begin{gathered} \text{mpm}=m^2p \\ \text{abab}=a^2b^2 \end{gathered}[/tex]So, the given expression will be:
[tex]\begin{gathered} mp^2+\text{mpm}+2a^2b^2+mp+\text{abab} \\ =mp^2+m^2p+mp+2a^2b^2+a^2b^2 \\ \\ =mp^2+m^2p+mp+3a^2b^2 \end{gathered}[/tex]