This is LaTeX code:

[latex]
3 \cdot 17 = 3 \cdot (1\cdot 10 + 7) = 3 \cdot 10 + 3 \cdot 7 = 30 + 21 = 51
[/latex]