"There were three times as many girls as boys."
number of girls → 3u number of boys → 1u
1 boy balloon → 2 balloons 1 girl balloon → 3 balloons
"In total, the girls received 161 more balloons than the boys."
total girls balloons → number of girls x 1 girl balloon = 3u x 3 = 9u
total boys balloons → number of boys x 1 boy balloon = 1u x 2 = 2u
difference (in units) → total girls balloons - total boys balloons = 9u - 2u = 7u
difference → 161
7u → 161 1u → 161 ÷ 7 = 23
number of girls → 3u number of boys → 1u total children → 3u + 1u = 4u
4u (total children) → 4 x 23 = 92