The basic synthetic division algorithm only applies to quotients like this when the divisor (denominator) is a monic linear polynomial, meaning the coefficient of the leading term needs to be 1.
First write

Now, carry out the synthetic division:
...... | 2 ....... 7 ...... -39
7/2 | ....... 7 ...... 49
----------------------------
...... | 2 ...... 14 ...... 10
So you have
