To solve this problem, we need to determine the value of x, which represents the initial amount of money Lily has.
Let's break down the information given:
Cost of celery: $5
Cost of cereal (50% off $12): $12 - ($12 * 0.5)
Cost of bread: $8
Cost of milk (10% off $10): $10 - ($10 * 0.1)
Cost of potatoes: $1 each * 6 potatoes
Amount of money left for coffee: $26
We can set up the equation as follows:
Initial amount of money - Cost of celery - Cost of cereal - Cost of bread - Cost of milk - Cost of potatoes - Amount of money left for coffee = 0
x - $5 - ($12 - ($12 * 0.5)) - $8 - ($10 - ($10 * 0.1)) - ($1 * 6) - $26 = 0
Let's simplify and solve for x:
x - $5 - ($12 - $6) - $8 - ($10 - $1) - $6 - $26 = 0
x - $5 - $6 - $8 - $9 - $6 - $26 = 0
x - $60 = 0
To isolate x, we add $60 to both sides of the equation:
x - $60 + $60 = 0 + $60
x = $60
The value of x is $60.
#### 60
The answer is: 60
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Lily goes to the supermarket. She has x. She needs to buy 6 items: celery, cereal, bread, milk, potatoes, and coffee. She finds a stalk of celery for $5, cereal for 50% off $12, bread for $8, and milk for 10% off $10. She finds potatoes for $1 each and buys 6. She has 26 dollars left to spend on coffee. What is the value of unknown variable x?

### Answer:
