Group the like terms together:
20y, 20a, 15q, -25, 25a, 12, y
20y, y
20a, 25a
Like terms are those terms which contain the same variable with the same exponential power.
Therefore, 20y and y are like terms. Similarly, 20a and 25a are also like terms.