Final answer:
To find the cost of one hot dog at the restaurant, we need to divide the total amount spent by the number of hot dogs purchased. Both customers paid the same amount per hot dog, so we can set up an equation to solve for the cost. One hot dog costs $1 at this restaurant.
Step-by-step explanation:
To find the cost of one hot dog at the restaurant, we need to divide the total amount spent by the number of hot dogs purchased.
The first customer bought 10 hot dogs and left a $4 tip, so the total amount spent by the first customer is $4 more than the cost of the hot dogs.
The second customer bought 8 hot dogs and left a $6 tip, so the total amount spent by the second customer is $6 more than the cost of the hot dogs.
Since both customers paid the same amount per hot dog, we can set up the following equations:
10x + 4 = 8x + 6
Simplifying the equation, we get:
2x = 2
Dividing both sides by 2, we find that x = 1.
Therefore, one hot dog costs $1 at this restaurant.