The middle term = the average of the first term and the last term.
For example, the arithmetic sequence
1, 4, 7, 10, 13, 16, 19
which has 7 terms (7 is an odd number of terms),
the average of the first and the last term is
,
which is the middle term.
Edwin