The synthetic division table is:
$$ \begin{array}{c|rrrrr}12&2&-7&-17&58&-24\\& & 24& 204& 2244& \color{black}{27624} \\ \hline &\color{blue}{2}&\color{blue}{17}&\color{blue}{187}&\color{blue}{2302}&\color{orangered}{27600} \end{array} $$The solution is:
$$ \frac{ 2x^{4}-7x^{3}-17x^{2}+58x-24 }{ x-12 } = \color{blue}{2x^{3}+17x^{2}+187x+2302} ~+~ \frac{ \color{red}{ 27600 } }{ x-12 } $$Step 1 : Write down the coefficients of the dividend into division table. Put the zero from $ x -12 = 0 $ ( $ x = \color{blue}{ 12 } $ ) at the left.
$$ \begin{array}{c|rrrrr}\color{blue}{12}&2&-7&-17&58&-24\\& & & & & \\ \hline &&&&& \end{array} $$Step 1 : Bring down the leading coefficient to the bottom row.
$$ \begin{array}{c|rrrrr}12&\color{orangered}{ 2 }&-7&-17&58&-24\\& & & & & \\ \hline &\color{orangered}{2}&&&& \end{array} $$Step 2 : Multiply by the number on the left, and carry the result into the next column: $ \color{blue}{ 12 } \cdot \color{blue}{ 2 } = \color{blue}{ 24 } $.
$$ \begin{array}{c|rrrrr}\color{blue}{12}&2&-7&-17&58&-24\\& & \color{blue}{24} & & & \\ \hline &\color{blue}{2}&&&& \end{array} $$Step 3 : Add down last column: $ \color{orangered}{ -7 } + \color{orangered}{ 24 } = \color{orangered}{ 17 } $
$$ \begin{array}{c|rrrrr}12&2&\color{orangered}{ -7 }&-17&58&-24\\& & \color{orangered}{24} & & & \\ \hline &2&\color{orangered}{17}&&& \end{array} $$Step 4 : Multiply by the number on the left, and carry the result into the next column: $ \color{blue}{ 12 } \cdot \color{blue}{ 17 } = \color{blue}{ 204 } $.
$$ \begin{array}{c|rrrrr}\color{blue}{12}&2&-7&-17&58&-24\\& & 24& \color{blue}{204} & & \\ \hline &2&\color{blue}{17}&&& \end{array} $$Step 5 : Add down last column: $ \color{orangered}{ -17 } + \color{orangered}{ 204 } = \color{orangered}{ 187 } $
$$ \begin{array}{c|rrrrr}12&2&-7&\color{orangered}{ -17 }&58&-24\\& & 24& \color{orangered}{204} & & \\ \hline &2&17&\color{orangered}{187}&& \end{array} $$Step 6 : Multiply by the number on the left, and carry the result into the next column: $ \color{blue}{ 12 } \cdot \color{blue}{ 187 } = \color{blue}{ 2244 } $.
$$ \begin{array}{c|rrrrr}\color{blue}{12}&2&-7&-17&58&-24\\& & 24& 204& \color{blue}{2244} & \\ \hline &2&17&\color{blue}{187}&& \end{array} $$Step 7 : Add down last column: $ \color{orangered}{ 58 } + \color{orangered}{ 2244 } = \color{orangered}{ 2302 } $
$$ \begin{array}{c|rrrrr}12&2&-7&-17&\color{orangered}{ 58 }&-24\\& & 24& 204& \color{orangered}{2244} & \\ \hline &2&17&187&\color{orangered}{2302}& \end{array} $$Step 8 : Multiply by the number on the left, and carry the result into the next column: $ \color{blue}{ 12 } \cdot \color{blue}{ 2302 } = \color{blue}{ 27624 } $.
$$ \begin{array}{c|rrrrr}\color{blue}{12}&2&-7&-17&58&-24\\& & 24& 204& 2244& \color{blue}{27624} \\ \hline &2&17&187&\color{blue}{2302}& \end{array} $$Step 9 : Add down last column: $ \color{orangered}{ -24 } + \color{orangered}{ 27624 } = \color{orangered}{ 27600 } $
$$ \begin{array}{c|rrrrr}12&2&-7&-17&58&\color{orangered}{ -24 }\\& & 24& 204& 2244& \color{orangered}{27624} \\ \hline &\color{blue}{2}&\color{blue}{17}&\color{blue}{187}&\color{blue}{2302}&\color{orangered}{27600} \end{array} $$Bottom line represents the quotient $ \color{blue}{ 2x^{3}+17x^{2}+187x+2302 } $ with a remainder of $ \color{red}{ 27600 } $.