Two customers purchased coffee and doughnuts at a coffee shop. Each cup of coffee costs the same amount, and each doughnut costs the same amount.

The first customer paid $4.90 for 1 cup of coffee and 2 doughnuts.
The second customer paid $8.60 for 2 cups of coffee and 3 doughnuts.
What is the cost of 1 cup of coffee?

1 answer

Let's denote the cost of 1 cup of coffee as C and the cost of 1 doughnut as D.

From the information given, we can create the following equations:
1. C + 2D = 4.90
2. 2C + 3D = 8.60

To find the cost of 1 cup of coffee, we need to solve these two equations simultaneously.

First, let's multiply equation 1 by 2:
2(C + 2D) = 2(4.90)
2C + 4D = 9.80

Now, we can subtract this from equation 2:
(2C + 3D) - (2C + 4D) = 8.60 - 9.80
-C = -1.20
C = 1.20

Therefore, the cost of 1 cup of coffee is $1.20.