Step 1: First we have to write polynomials in descending order.
$$ \begin{aligned} P(x) &= 12x+26 \\ Q(x) &= -17x+18 \\ \end{aligned} $$In this example we are multiplying two binomials so FOIL method can be used.
$$ \begin{aligned} \left( \color{blue}{ 12x+26}\right) \cdot \left( \color{orangered}{ -17x+18}\right) &= \underbrace{ \color{blue}{12x} \cdot \left( \color{orangered}{-17x} \right) }_{\text{FIRST}} + \underbrace{ \color{blue}{12x} \cdot \color{orangered}{18} }_{\text{OUTER}} + \underbrace{ \color{blue}{26} \cdot \left( \color{orangered}{-17x} \right) }_{\text{INNER}} + \underbrace{ \color{blue}{26} \cdot \color{orangered}{18} }_{\text{LAST}} = \\ &= -204x^2 + 216x + \left( -442x\right) + 468 = \\ &= -204x^2 + 216x + \left( -442x\right) + 468 = \\ &= -204x^2-226x+468; \end{aligned} $$