Hello, Coukapecker!

When is divided by

the quotient is and the remainder is

Find the values of and

The quotient times the divisor plus the remainder should equal the dividend, so:

. .

Expand the right side:

. .

. .

Equate coefficients: .

From [3]: .

Substitute into [2]: .