First thing to do is to find the ratio of girls to boys (81:72) simplified to 9:8 respectively by dividing both numversions by 9.
As there are 16 boys in the class, the ratio is multiplindeed by 2, where boys to girls is now 18:16 respectively, and therefore there are 18 girls in the class