As we know, in a magic square each row, column and diagonals share the same sum.
First we have to find the sum.
From the diagonal we find the sum, 17 + 14 + 11 = 42
So the value of a will be 42 - (17 + 12) = 13 ⇒ a = 13