First of all I must say that I feel like you have a wrong approach at this exercise and maybe in general in your study. It looks like you are trying to put together all the data you have in some manner.
I suggest you to understand much more the underlying principles.
For example, in this exercise, you have to know a very basic principle which states that energy is conserved. This means that all the energy you get from the 240 V power outlet is going into the battery.
Since you are draining 5A at 240V it means you are getting 1200 W.
At 3.5V the same 1200W means 343A of current.
The transformer is transforming the electrical energy in another form: less voltage and more current. BUT THE POWER IS THE SAME!
If only 5A would have gone in the battery, then you were draining 1200 W and only putting 3.5V x 5A = 17.5 W in the battery. Where would be going all the missing power?
The problem was saying:
"By assuming that all the power, which can be delivered with a 5A current from a 240 V a.c. mains supply, is supplied to charge the battery pack."
Going a little bit deeper, we are assuming that the transformer is 100% efficient and good at its job; in reality, in the real world, the transformer heats a little and a part of energy is going wasted into heat, so, for example, maybe only 1100W are effectively reaching the battery... But this is a topic which usually is not considered in these, so simple problems. Maybe you will encounter "efficiency" in the future... here it is...