The ratio of the number of boys and girls in a class is 3:5. Find the number of girls , if the total number of students in the class is 40.