FactorOut and FactorOutX