When ax³-x²+3x+b is divided by x – 2, the remainder is 59. When it is divided by x + 1, the remainder is –1. Find the values of a and b.
a = 8, b = -15