Answer
$w+10-\frac{76}{3w+9}$
Work Step by Step
Re-arranging the order of the terms, the given is equivalent to
$$
(3w^2+39w+14)÷(3w+9)
.$$
Using the long division method shown below, then
$$\begin{aligned}
&
(3w^2+39w+14)÷(3w+9)
\\&=
w+10-\frac{76}{3w+9}
.\end{aligned}
$$