Crossover

The numbers 2 to 8 are to be placed in the diagram so that the row and column each adds to 21. Which numbers can replace x?

Problem



Image
Crossover


The numbers $2$, $3$, $4$, $5$, $6$, $7$ and $8$ are placed in the squares in this diagram.

The four numbers in the horizontal row add up to $21$, and the four numbers in the vertical column also add up to $21$.

Which number should replace $x$?

If you liked this problem, here is an NRICH task that challenges you to use similar mathematical ideas.