this question is telling you that 30% of a number is 18 and you need to find that number. so you can say:
30/100 = 18/?
so ? is the answer and you will have:
100*18/30 = 60
so there were 60 people at the picnic :)))
i hope this is helpful
have a nice day