//5*x^2*y^2-10*x^2*y+20*y^2 clear; clc; close; mprintf("\n the highest common factor to each term is 5 and other factor is y \n") disp('5y(x^2y-2x^2+4y)')