The numbers along the leading diagonal total 58, which is therefore the sum of each row and each column. We can now calculate that the number to the left of 10 must be 20 and below that must be 7. Hence x=21