This is LaTeX code:
[latex]
4(1 - p) + 1 = 5 - 4 p
[/latex]