Respuesta :

Let y=q³-q²+2q-2

Therefore,
y = q²(q-1) + 2(q-1)
y = (q-1)(q²+2)

which are the required factors