We are going to use variables (T and C)
Let t be the price of each tomato and c be the price of each cucumber in dollars.
From the given information, we can set up the following system of equations:
5t + 12c = 16.45
8t + 6c = 15.10
Multiplying the first equation by 2 and subtracting the second equation from it, we get:
10t + 24c - (8t + 6c) = 20.90 - 15.10
2t + 18c = 5.80
Multiplying this equation by 5, we get:
10t + 90c = 29
Substituting this into the first equation, we get:
5t + 12c = 16.45
(10t + 90c = 29)
-5t - 78c = -12.55
Solving for t, we get:
t = 1.75
Substituting this back into the first equation, we can solve for c:
5(1.75) + 12c = 16.45
8.75 + 12c = 16.45
12c = 7.70
c = 0.64
Therefore, each tomato costs $1.75 and each cucumber costs $0.64