This is a long division since 3x2+11x+1 cannot be factored, therfore set up long division as follows:
3x -1
X+4 Γ 3x2+11x+1 (1)
(3x2+12x) (2) Subtract (2) from (1)
-x +1 (3)
(-x - 4) (4) Subtract (4) from (3)
5 where 5 is the remainder
The answer is 3x -1 and the remainder is 5. This can be written as (3x-1) + (5 / (x+4))
the problem statement can be written as follows:
( 3x2+11x+1) / (x+4) = 3x-1 +(5/(x+4))
Proof:
Multiply (x+4) by ((3x-1)+(5/(x+4))) you get (x+4)(3x-1) + (5(x+4)/(x+4))
Expand you get 3x2 -x + 12x -4 + 5 = 3x2 +11x + 1 which is the numerator of the original expression