Final answer:
To determine the cost of the sandwich when the total cost of the snack box and sandwich is $25.50 and the snack box is $5 more, we set up the equation 2x + $5 = $25.50. Solving for x gives us x = $10.25. Hence, the sandwich costs $10.25.
Step-by-step explanation:
The total cost of a snack box and a sandwich is $25.50. If the snack box costs $5 more than the sandwich, we can set up an equation to find the cost of the sandwich. Let's call the cost of the sandwich x. So, the cost of the snack box would be x + $5. The equation using the given total cost would be: x + (x + $5) = $25.50.
Solving the equation by combining like terms gives us 2x + $5 = $25.50. To find the value of x, we need to subtract $5 from both sides of the equation, giving us 2x = $20.50. Dividing both sides by 2 yields x = $10.25. Therefore, the sandwich costs $10.25.