Find a monic quadratic polynomial f(x) such that the remainder when f(x) is divided by x-1 is 2 and the remainder when f(x) is divided by x-3 is 4.
f(x) = x^2 + 3x - 2.