Factor the Following;

are any of them prime?
2x^2-5x+2

18x^3+32x

x^2+8x+40

2x^3-2x

first, check the discriminant. If it's negative, there are no real factors.

If the discriminant is a perfect square, then there are rational factors, so you can then work on finding them.

2x^2-5x+2
discriminant is 25-16=9, so we can work to find (2x-1)(x-2)

the others should be easy...