we have 2x^3+10x^2+9x+38 / x+5
first we solve x+5 -----> x + 5= 0 , x= - 5.
then we solve using the technique for synthetic division
-5 ! 2 10 9 38
!
! -10 0 -45
-------------------------
2 0 9 -7..................this -7 is the reminder
having this the answer is 2x^2+9x-7/(x+5)
hope this helps !