A square on a chessboard is chosen. The sum of the squares of the distances from its center to the centers of all black squares is denoted as , and the sum of the squares of the distances from its center to the centers of all white squares is denoted as . Prove that .