The numbers in the last cells are the sums of the corresponding rows and columns. Complete the below grid using numbers from \(1 - 9\) without repeating any of them.
 
7 1 12
9  17
 3 8 16
12 18 15 -