In this problem we can write an equation for each of them when x is the cost of a single muffin and y is the total amount they spent so:
for Halilee:

For Ehren

Now we have two equations and two variable so we can made them equal and solve for x so:

So each muffin cost 0.50 dollars