An easier way to think of this problem is just keep adding for each additional hour:
0.5 hours --> $2
1.5 hrs --> $3.75
2.5 hrs --> $5.50
3.5 hrs --> $7.25
and since you can only spend $7, the maximum time is 2.5 hours
9.5m questions
12.2m answers