Magic squares/Linear/Dimension/Exercise

Let be a field, and . Determine the dimension of the space of all linear-magic squares of length over .