This is LaTeX code:
[latex]
-1 + A = 7+D \\ -2 + A = 3 \Rightarrow A=1 \Rightarrow D=-7
[/latex]