Given:
A group of young adults was surveyed about their favorite pizza topping.
The toppings of pepperoni and sausage were in the ratio of 5:7
So, using the ratio and proportions:
pepperoni : sausage : total
5 : 7 : 12
x : y : 120
The number of people who said pepperoni was their favorite = x

So, the answer will be 50 people said pepperoni was their favorite