By inspection f(2) = 2^3 + 2(4) - 4 - 8 = 0. Thus is a factor of f(x) by the factor theorem.
where A, B and C are constants to be found. You can either use long division or comparing coefficients to find them.
Once you have the quadratic you need to check if that will factor too