Since "y" is the total number of minutes Ma'lia studied for the test, that means we have to add the time she spent studying together:
40 + x = y
6.2m questions
8.2m answers