At a certain food truck, hot dogs cost $3 and burgers cost $5. A customer ordered 7 items and spent $27.

1) If is the number of burgers the customer bought and is the number of hot dogs, write a system of equations that models the problem and graph it.

2) How many of each item were purchased?