Factor the polynomials by GCF:

x(x²-1)+3(x²-1)

help me please