//EX2_6 Factor C'D + C'E' + G'H //clears the screen clc //clears already existing variables clear //Using ordinary distributive law disp('C''D + C''E'' + G''H = C''(D + E'') +G''H') //Now applying second distributive law disp('= (C'' +G''H)((D + E'') + G''H)') //Now identify X , Y and Z in each expression and complete the factoring disp('= (C'' + G'')(C'' H)(D + E'' G'')(D + E'' +H)')