Answer:
The first graph is correct.
Explanation:
Total time taken to do the homework is t.
Total math question is q.
The equation can be derived as :
t = fixed amount of time spent on History (10 mins) + Variable time spent on Math

So, we can see that the first graph is correct. This is because our x axis is math question and y axis is time. This defines that a question is done at a particular time, this is why it is not a continuous graph.