Almost there. Just replace the last sum with xยฏ x, which you can take it before the other sum. What is left is รขห†' x รขห†' x which is nxยฏ n x note however that