Total = average × count. Work with totals, not averages, whenever something is added, removed or replaced.
Key takeaways: convert averages into totals; use (first + last) ÷ 2 for evenly spaced numbers; and the missing value is the target total minus the known total.