The 5s 4Ah pack requires 84 watts each (4.2v/cell * 5s * 4A).
The 3s 2.1Ah pack requires 26.46 watts (4.2v/cell * 3s * 2.1A).
Add them together and you get 194.46 watts total. Figuring an 85% charger efficiency, that brings it up to 228.77 watts. If your charger is good for 240 watts, it'll work, but it will be working hard.