divide the given polynomial expression use long method and synthetic division.

1.(x²+6x+9)÷(x+3)

2.(x³+7x²+2x-40)÷(x-2)​