Some Mean/Average Problems Question 2/3

Hi could someone walk me through this problem. Even after reading the solution, I still don’t quite grasp the concept of the question.

The mean of the following four values does not depend on the value of t*:*

2t+5

4t+6

−t−9

at+a

What is the value of a?

If the mean doesn’t depend on ‘t’, then the sum of the numbers also shouldn’t contain the ‘t’ term.
So, the coefficient of ‘t’ should be 0.

So, if you add the other terms of ‘t’, you get: 5t
Thus, ‘a’ should be equal to -5, to cancel out the ‘5t’ to get the final sum without the ‘t’ term, for the mean to be independent of ‘t’