Mr. Sanchez’s class sold fruit pies for $1.65 each, and Mr. Kelly’s class sold bottles of fruit juice for $1.36 each. Together, the classes sold 79 items and earned $118.17 for their school. Write and solve a system of equations to determine how many pies and how many bottles of juice were sold.

46 pies and 33 bottles of juice
37 pies and 42 bottles of juice
33 pies and 46 bottles of juice
42 pies and 37 bottles of juice

I need an answer on how many pies and bottles of juice it is.