The first equation can be rearranged to obtain p=10+q.
Substituting this into the second equation,
6.5m questions
8.5m answers