Independently derived and corrected; the supplied method omits the inclusive endpoint when counting terms.
Row n ends at n², and starts one more than the end of the previous row. Row 10 therefore starts at 9² + 1 = 82 and ends at 10² = 100.
The numbers are consecutive and equally spaced. Pairing the first and last, second and second-last, and so on gives a common pair total of 82 + 100 = 182. Their average is (82 + 100) ÷ 2 = 91.
Check by summing: there are 100 − 82 + 1 = 19 numbers, with total 19 × 91 = 1729. Then 1729 ÷ 19 = 91. The supplied count 18 and total 1638 are incorrect even though its final average 91 is correct.