This is LaTeX code:

[latex]
\;dim(M_1+M_2)\;=\;n+1\;=\;dim(P_n)
[/latex]