Answer
$1.3\times10^{6}\,J$
Work Step by Step
$I=\frac{q}{t} \implies q=It=6.0\,A\times5.0\,h\times\frac{3600\,s}{1\,h}=1.08\times10^{5}\,C$
Now, $Energy=\frac{Energy}{Charge}\times Charge$
$\frac{Energy}{Charge}=Battery\,voltage=12\,V$
We found charge q to be equal to $1.08\times10^{5}\,C$
Therefore energy delivered to the battery
$U=12\,V\times1.08\times10^{5}\,C=1.3\times10^{6}\,J$