Gerardo and his two friends order a pizza and decide to split the cost evenly. Each person ordered a drink for $1.50. How much was the pizza if each person paid $8?