2 answers
(click or scroll down)
Let N be the number of people at the party and P be the number of pizzas ordered.
P = 3
N/6 = P
N = 6P = 18
Check: 18 people eating 1/6 pizza each is 3 pizzas.