The current is defined as the amount of charge that flows through the circuit in a certain time interval:

where
I is the current
Q is the charge

is the time interval
In our problem, the current is

and it runs for a time of

so we can use the previous equation to find the charge transferred from one terminal to the other terminal of the battery during this time:
