TeX source:
=\frac{\left(t_{p}-t_{m}\right)^{2}+\left(t_{p}-t_{m}\right) \times\left(t_{m}-t_{o}\right)+\left(t_{m}-t_{o}\right)^{2}}{18}