The H.C.F. and L.C.M. of two expression are (x − 3) and (x3 − 5x2 − 2x + 24) respectively. If one of the expression is (x2 − 7x + 12) find the other.