In this problem “like terms” has two groups: one with a number and y, and one with just numbers. First I’ll rewrite the equation with the terms in a different order, grouped with like terms. Then we’ll do the math for them:
7y + 10 + 3y - 4 - 6y
= 7y + 3y - 6y + 10 - 4
= 10y - 6y + 6
= 4y + 6
Let me know if you have questions on this.