SSC CHSL 7 Jun 2022 Shift 2 — Question 58 (Algebra)

Medium2022
If P(x)=(x3−8)(x+1)P(x) = (x^3 - 8)(x + 1) and Q(x)=(x3+1)(x−2)Q(x) = (x^3 + 1)(x - 2), the LCM of P(x)P(x) and Q(x)Q(x) is: