45/125 = 0.36 = 36%
You divide the attendees under 40yrs old and the total attendees to get your percentage. 45/125 comes out as 0.36 which is 36%.
To check that it's true 36% of 125 is 45, which is the amount of attendees who loved fireworks.
Hope this helps!