`m=` number of medium pizzas

`l=` number of large pizzas

Since medium pizza costs $5 and large costs $8 you have $40 to spend your equation is

`5m+8l=40`

Note that both `m` and `l` must be positive integers.

Possible solutions are `(m,l)=(8,0)` and `(m,l)=(0,5).`

## See eNotes Ad-Free

Start your **48-hour free trial** to get access to more than 30,000 additional guides and more than 350,000 Homework Help questions answered by our experts.

Already a member? Log in here.