Answer
$Q(x)=x^{2}+3x+9,\quad R(x)=0$
Work Step by Step
Important: zeros for missing powers of P(x).
$\left.\begin{array}{l}
3 \ \lfloor \\ \\ \\ \end{array}\right.\begin{array}{rrrrr}
1 & 0 & 0 & - 27 & \\\hline
& 3 & 9 & 27 & \\\hline
1 & 3 & 9 & |\ \ \ 0 & \end{array}$
$Q(x)=x^{2}+3x+9,\quad R(x)=0$