9c²d²-6c²d-36cd³+24cd²=(9c²d²-6c²d)-(36cd³-24cd²)=3c²d(3d-2)-12cd²(3d-2)=
=(3d-2)(3c²d-12cd²)=3cd(c-4d)(3d-2).
9c²d²-6c²d-36cd³+24cd²=(9c²d²-6c²d)-(36cd³-24cd²)=3c²d(3d-2)-12cd²(3d-2)=
=(3d-2)(3c²d-12cd²)=3cd(c-4d)(3d-2).