This is LaTeX code:
[latex]
P(A)=\mathop{tg}\frac{\pi}{24}\cdot\mathop{tg}\frac{\pi}{12}
[/latex]