Consider
∣∣
∣∣x+y+2zxyzy+z+2xyzxz+x+2y∣∣
∣∣c11=c1+c2+c3−−−−−−−−→∣∣
∣
∣∣2(x+y+z)xy2(x+y+z)y+z+2xy2(x+y+z)xz+x+z+x+2y∣∣
∣
∣∣
Taking 2(x+y+z) common from C1
=2(x+y+z)∣∣
∣∣1xy0x+y+z000x+y+z∣∣
∣∣=2(x+y+z)3∣∣
∣∣1xy010001∣∣
∣∣ (Taking out x+y+z from R2 and R3)
Expanding along R1 we get,
=2(x+y+z)3[(1−0)−x(0)+y(0)]
=2(x+y+z)3(RHS).