Yes, the ratio of the number of students on the team to the number of students trying out is same for both girls and boys.
The ratio is: 2:5
It is given that:
This means that the ratio of the number of girls on the team to the number of girls trying out is:
12/30=2/5
This means that the ratio of the number of boys on the team to the number of boys trying out is:
16/40=2/5
Hence, we get that the ratio is same for boys and girls i.e. 2:5