What is the solution?

Solve 0 = -47*q + 18*q + 87 for q.
3