Answer: There are 112 students left.
Step-by-step explanation: let the original number of students be 100 out of which 40 were girls. Additional 15 girls came making a total of 115 students out of which 55 are girls.
But we're told that the number of girls left is 52 not 55 so it means 3 girls left the dance, this reducing the total number of students from 115 to 112.
I believe this is clear enough.
The above solution is correct if the figures 40, 52, and 15 are taken as numbers NoT percentage. That was my error. I'm so sorry!