Let the number of males be 'M'
Let the number of females be 'F'
From the given conditions,
(F-15)=2M.....(i)
F=5(M-45).....(ii)
By solving the equations (1) & (2) we get M = 80
Then substitute M = 80 in (1)
F = 2M + 15
F = 2 x 80 + 15
=> F = 175
Therefore, number of males = 80 and females = 175 in the party.