In a bakery, there are two types of pastries: croissants and muffins. Each croissant costs $2, and each muffin costs $3. During a sale, the bakery sold a total of 80 pastries, earning $180. Let $x$ represent the number of croissants sold, and $y$ represent the number of muffins sold.
Which of the following systems of equations can be used to determine the values of $x$ and $y$?