Therefore,
is an identity. This is a true equation for any x value you plug in.
Verification using WolframAlpha (there are other similar online calculators)
Alternatively you can FOIL out the expression (5x^2+2)(3x-1) to arrive back at 15x^3 - 5x^2 + 6x - 2
Factor 5x2 out of the first two terms:
5x2(3x - 1) + 6x - 2
Factor +2 out of the last two terms:
5x2(3x - 1) + 2(3x - 1)
Factor (3x - 1) out of the two terms:
(3x - 1)(5x2 + 2)
That's the same as
(5x2 + 2)(3x - 1)
the first choice.
Edwin