a/ \(\left(x-2y\right)^2+3\left(x-2y\right)\left(x+2y\right)\)
\(=\left(x-2y\right)\left(x-2y+3x-6y\right)=\left(x-2y\right)\left(4x-8y\right)\)
\(=4\left(x-2y\right)\left(x-2y\right)=4\left(x-2y\right)^2\)
b/ \(\left(y^2+1\right)\left(y+2\right)-\left(y+2\right)\left(y^2-2y+4\right)\)
\(=y^3+2y^2+y+2-y^3-8\)
\(=2y^2+y-6=2y^2+4y-3y-6\)
\(=\left(y+2\right)\left(2y-3\right)\)
riêng câu b mình có sửa đề lại, bn xem có đúng hong nha. Chúc bn hc tốt nhé ^^