\[(x - 5)(9 - x) =\]
\[= 9x - x \cdot x - 5 \cdot 9 - 5 \cdot ( - x) =\]
\[= 9x - x^{2} - 45 + 5x =\]
\[= - x^{2} + 14x - 45.\]