12c^2d+3c(cd) -4d12c2d+3c(cd)−4d color(white)("XXXX")XXXXMultiply the middle term =12c^2d+3c^d-4d=12c2d+3cd−4d color(white)("XXXX")XXXXCombine the first two terms =15c^2d-4d=15c2d−4d color(white)("XXXX")XXXXExtract the common of dd =d(15c^2-4)=d(15c2−4)