Linear equations with unknown coefficients

Solve a linear equation where the coefficients are represented by letters.

Problem

Solve for y.
p, y, plus, 7, equals, 6, y, plus, q
y, equals