Answer:
5.
Step-by-step explanation:
7(q + 7) = 5q + 59
7q + 49 = 5q + 59
7q - 5q = 59 - 49
2q = 10
q = 5.