I've managed to figure out question B but cannot figure out A, any help appreciated

Two particles, with identical positive charges and separation of 3.04 × 10-2 m, are released from rest. Immediately after the release, particle 1 has an acceleration a1 whose magnitude is 6.05 × 103 m/s2, while particle 2 has an acceleration a2 whose magnitude is 8.74 × 103 m/s2. Particle 1 has a mass of 8.14 × 10-6 kg. Find (a) the charge on each particle and (b) the mass of particle 2.