the answer is:

Simplifying

x + 2 = 3x + -1x2 + 5

Reorder the terms:

2 + x = 3x + -1x2 + 5

Reorder the terms:

2 + x = 5 + 3x + -1x2

Solving

2 + x = 5 + 3x + -1x2

Solving for variable 'x'.

Reorder the terms:

2 + -5 + x + -3x + x2 = 5 + 3x + -1x2 + -5 + -3x + x2

Combine like terms: 2 + -5 = -3

-3 + x + -3x + x2 = 5 + 3x + -1x2 + -5 + -3x + x2

Combine like terms: x + -3x = -2x

-3 + -2x + x2 = 5 + 3x + -1x2 + -5 + -3x + x2

Reorder the terms:

-3 + -2x + x2 = 5 + -5 + 3x + -3x + -1x2 + x2

Combine like terms: 5 + -5 = 0

-3 + -2x + x2 = 0 + 3x + -3x + -1x2 + x2

-3 + -2x + x2 = 3x + -3x + -1x2 + x2

Combine like terms: 3x + -3x = 0

-3 + -2x + x2 = 0 + -1x2 + x2

-3 + -2x + x2 = -1x2 + x2

Combine like terms: -1x2 + x2 = 0

-3 + -2x + x2 = 0

Factor a trinomial.

(-1 + -1x)(3 + -1x) = 0

x + 2 = 3x + -1x2 + 5

Reorder the terms:

2 + x = 3x + -1x2 + 5

Reorder the terms:

2 + x = 5 + 3x + -1x2

Solving

2 + x = 5 + 3x + -1x2

Solving for variable 'x'.

Reorder the terms:

2 + -5 + x + -3x + x2 = 5 + 3x + -1x2 + -5 + -3x + x2

Combine like terms: 2 + -5 = -3

-3 + x + -3x + x2 = 5 + 3x + -1x2 + -5 + -3x + x2

Combine like terms: x + -3x = -2x

-3 + -2x + x2 = 5 + 3x + -1x2 + -5 + -3x + x2

Reorder the terms:

-3 + -2x + x2 = 5 + -5 + 3x + -3x + -1x2 + x2

Combine like terms: 5 + -5 = 0

-3 + -2x + x2 = 0 + 3x + -3x + -1x2 + x2

-3 + -2x + x2 = 3x + -3x + -1x2 + x2

Combine like terms: 3x + -3x = 0

-3 + -2x + x2 = 0 + -1x2 + x2

-3 + -2x + x2 = -1x2 + x2

Combine like terms: -1x2 + x2 = 0

-3 + -2x + x2 = 0

Factor a trinomial.

(-1 + -1x)(3 + -1x) = 0