If A and B are square matrices of same order such that AB=A and BA=B, then
Show that if A and B are square matrices such that AB = BA, then (A+B)2=A2+2AB+B2.