This is LaTeX code:
[latex]
y = \frac{12}{6 - 10}(x - 10) = -3(x - 10)
[/latex]