TeX source:
\dfrac{5-8x}{7x+4} \cdot \dfrac{x+10}{3x-17} = \dfrac{(5-8x) \cdot (x+10)}{(7x+4) \cdot (3x-17)} = \dfrac{5x+50-8x\cdot x-80x}{21x\cdot x-119x+12x-68}