There are 20+21= 41 people on the class. Let B be the grade points of the boys and G be the grade points of the girls. Since the class has a whole GPA of 2.96, we can write

On the other hand, the GPA of the boys is

By substituting this result into the first equation, we have

After multiplying both sides by 41 and subtracting 48 in both sides, we get

Since the GPA of the girls is

we get

Hence, by rounding down to the nearest hundredth, the answer is 3.49