You can simply use the remainder theorem.
If you need to divide a polynomial by a one degree polynomial having two terms - > one with variable x and other constant, you can put the value of x = -[constant] in the polynomial to be divided. So here, put x = - π and the answer will be, that the remainder obtained on dividing the given polynomial by (1+π) will be :-This was for remainder
Now for actual division, you need to sit and divide using long division method
You can use the synthetic division to find the answer.