If the LCM and HCF of two expressions are (x2+6x+8) (x+1) and (x+1) respectively and one of the expression is x2+3x+2, then find the other.