synthetic division method