First problem, part a seems right. But if the total number of squads is 495, then how can a soldier be in 1980 squads? Seems to high.
On the second problem, the aim seems to be to find the appropriate batch size. The cost will vary with batch size and you want to find a minimum cost. So you should find an equation for cost in terms of batch size and then differentiate to find a minimum point.