Explanation:
Let the total number of students in college A = 5x
and the total number of students in college B = 8x
total number of boys in college B = 8x×5/8=5x
In college B, number of boys who study commerce
and science = 5x×60/100=3x
Remaining boys = 5x-3x=2x
According to question,
2x=800
x=400
∴ Total number of students in college A = 5×400
=2000