a bag contains 7 white beads and 5 red beads. The mass of a red bead is 2.5 grams more than the mass of a white bead. The total mass of all the 12 beads is 114.5 grams.

Find the mass of a white bead and the mass of a red bead.