The number of boys in class 61 is twice that of girls, which is 5 times less than that of girls. The number of boys in class 61 is 2 times less than that of girls in class 62. The total number of girls in class 62 is 3 times less than that of girls in class 61. How many boys and girls are there in class 61

The number of boys in class 61 is twice that of girls, which is 5 times less than that of girls. The number of boys in class 61 is 2 times less than that of girls in class 62. The total number of girls in class 62 is 3 times less than that of girls in class 61. How many boys and girls are there in class 61

There are X males and Y females in class 61 and Z in class 62
2x+5=3y
x+y+2=z
z+10=3y
The solution is x = 26, y = 19, z = 47