This is LaTeX code:
[latex]
2^x*7^y(1-\frac{1}{2})(1-\frac{1}{7})=84
[/latex]