Final answer:
The total cost equation is 2.50*6 + x = 36. To find the cost of each keychain (x), subtract 2.50*6 from 36. If the keychains cost $5 each, Leslie spent a total of $21.
Step-by-step explanation:
To express the total cost equation, we can use the equation 2.50*6 + x = 36, where x represents the cost of each keychain.
To solve for x, we can subtract 2.50*6 from both sides of the equation:
x = 36 - 2.50*6
Finally, to find out how much Leslie spent in total when the keychains cost $5 each, we can substitute x with 5 in the equation:
Total cost = 2.50*6 + 5 = $21