There are 26 students between the two classes, and the total is 60 students in both classes so the MALE ratio is 26/60 which can be simplified to 13/30.
So, if the male ratio is 26/60, the remaining students are female. 60-26 Is 34, so the ratio of FEMALE students to total students is 34/60 which can be simplified to 17/30