In this example we are multiplying two binomials so FOIL method can be used.
$$ \begin{aligned} \left( \color{blue}{ 8x-27}\right) \cdot \left( \color{orangered}{ 15x-16}\right) &= \underbrace{ \color{blue}{8x} \cdot \color{orangered}{15x} }_{\text{FIRST}} + \underbrace{ \color{blue}{8x} \cdot \left( \color{orangered}{-16} \right) }_{\text{OUTER}} + \underbrace{ \left( \color{blue}{-27} \right) \cdot \color{orangered}{15x} }_{\text{INNER}} + \underbrace{ \left( \color{blue}{-27} \right) \cdot \left( \color{orangered}{-16} \right) }_{\text{LAST}} = \\ &= 120x^2 + \left( -128x\right) + \left( -405x\right) + 432 = \\ &= 120x^2 + \left( -128x\right) + \left( -405x\right) + 432 = \\ &= 120x^2-533x+432; \end{aligned} $$