Let K {\displaystyle {}K} be a field, and n ∈ N + {\displaystyle {}n\in \mathbb {N} _{+}} . Determine the dimension of the space of all linear-magic squares of length n {\displaystyle {}n} over K {\displaystyle {}K} .