It is very simple to do this kind of question. You simply have to make a square that has number 1-9 on 9 different squares. It where sum of each row and column is equal to the right most column and the last row. Here is the solution.

5 8 3>>>>8+5=3 (Its actually 13 but 1 is carried forward to the next row

1 4 6>>>>1+4=6(1+4+1)

7 2 9 >>>>>7+2=9

Same will be the case when numbers are added vertically.

5 8 3>>>>8+5=3 (Its actually 13 but 1 is carried forward to the next row

1 4 6>>>>1+4=6(1+4+1)

7 2 9 >>>>>7+2=9

Same will be the case when numbers are added vertically.