Sam is making Apple Pies and Pumpkin Pies for her pie shop. She sells each Apple Pie for $7 and each Pumpkin Pie
for $6. If Sam sells a total of 80 pies one day and makes a total of $512, how many of each type of pie did she sell?
Write down the equations for the apple pie and pumpkin pie.