Answer:
The simplest form is
Step-by-step explanation:
The given is:

1- For the numerator:
can be factorized to give (x-1)(x+2)
2- For the denominator:

We will factor this using grouping
Take
as a common factor from the first two terms and
as a common factor from the last two terms
This will give us:

Now, take (x-1) as a common factor:
= (x-1)(x²+2)
3- Finally, getting the simplest form:

Hope this helps :)