Factor 3ab(x+1)-2(x+1)