Magic square problem

Question

Hints

Answer