I'll give you the process and then the idea is for you to find out the final answer. That is going to be easy after this process im giving you:
2x^2 - x +3
------------------------
x^2 -3 ) 2x^4 - x^3 - 3x^2 + 7x -12
2x^4 - 6x^2
------------------------
-x^3 + 3x^2 + 7x
-x^3 + 3x
----------------------
3x^2 + 4x -12
3x^2 -9
--------------
4x - 3
Hope this is going to be very useful for you