Write a system of equation.

Luis spent $9.50 on snacks at the basketball game. Candy costs $1.25 per package and chips cost $0.50. Luis bought 10 snacks.