The question goes like this:

The inequality ax^2 - 3x + c > x - 2 has solution set. {x E R : -3 < x < 1}

Find the values of a and c. Thank you very much! The solutions are a = - 2 and c= 4

I tried bringing the RHS over to the LHS and creating a new equation.

How should I do this question?