Math for the curious

New Year Puzzle: In a magic square, the sum of numbers on each row, each column, and each diagonal is the same. Fill in the numbers in the following squares to make them become magic squares.