If A and B are square matrices of the same order such that AB = BA, then show that (A + B)^2 = A^2 + 2AB + B^2