As we know, for a magic square, the numbers in all the rows, columns and diagonals should add up to the same sum.
Here, we have a complete column, from which we can calculate the magic sum.
=> Magic sum = 14 + 0 + 10 = 24
In the 3rd row, we have 2 numbers. 10 + 12 = 22.
So the 3rd number = 24 - 22 = 2
Similarly, in the 3rd column, we have 2 numbers. 16 + 2 = 18
So, the missing number = 24 - 18 = 6
Now we can find the missing numbers by considering the first and second row.
In the first row: 14 + 6 = 20
=> missing number = 24 - 20 = 4
In the second row: 0 + 16 = 16
=> missing number = 24 - 16 = 8