In a magic square, each row, each column and both main diagonals have the same total. In the partially completed magic square shown, what number should replace x?
Use the interactivity below:
If you liked this problem, here is an NRICH task which challenges you to use similar mathematical ideas.