Here is another approach if you like. We can factor if we can rearrange.
Rewrite it as:
\(\displaystyle x^{3}-6x^{2}+4x^{2}+34x-24x+136\)
\(\displaystyle x^{3}-6x^{2}+34x+4x^{2}-24x+136\)
Now, group:
\(\displaystyle (x^{3}-6x^{2}+34x)+(4x^{2}-24x+136)\)
Factor out a common term from each set of parentheses:
\(\displaystyle x(x^{2}-6x+34)+4(x^{2}-6x+34)\)
Notice what is in the parentheses is the same. This is essential when factoring:
\(\displaystyle (x+4)(x^{2}-6x+34)=0\)
Obviously, \(\displaystyle x=-4\) is a solution. Now, the quadratic formula can be used on the remaining quadratic:
\(\displaystyle x=\frac{-(-6)\pm\sqrt{(-6)^{2}-4(1)(34)}}{2(1)}=\frac{6\pm\sqrt{-100}}{2}\)
\(\displaystyle =\frac{6\pm 10i}{2}\)
\(\displaystyle x=3+5i, \;\ x=3-5i\)