So firstly, we are going to complete the square for each polynomial. To do this, we need to split the middle term of each polynomial into two terms that add up to the middle term and multiply to the product of the first and third term.
Starting with 3x^2+26x+16, the two terms that fit are 24x and 2x since they add up to 26x and multiply to 48x^2. Now replace 26x with 24x + 2x:
Next, you are going to factor 3x^2 + 24x and 2x + 16 separately. Make sure they have the same quantity in the parentheses:
Next, thanks to distributive property, we can rewrite this as (3x + 2)(x + 8).
The process is going to be the same with the other 3 polynomials, so I'll brush through them real quickly:
So right now, just for reminder our fraction looks like this:
Next, cancel out (x+5), (x-3), and (3x+2) and your answer will be: