My personal solution for future reference:
We're given the fact that we have a 15 cup sauce made of 40% chocolate and 60% raspberry. We want to remove the sauce and add the same amount of removed sauce back as pure chocolate. This is tricky because when you remove the sauce, you're removing it with the 40/60 ratio, but adding back a 1/0 ratio sauce back (chocolate to raspberry ratio). However, we actually don't really need to care about the raspberry amount, because as long as we can figure out how to make the chocolate account for half the sauce, the problem is solved. In other words, we need to create an equation to figure out the optimal amount of chocolate.
Since the correct sauce mixture is exactly 50/50, we want to make sure the chocolate is half the sauce. Half of 15 is 7.5, so our goal is to make sure that we get 7.5 cups of chocolate in the final mixture. Let's say \(x\) is the amount of sauce we're removing and replacing with chocolate. We can construct the following equation:
\(.4(15 - x) + x = 7.5\)
This is because no matter how much sauce we take out, the ratio of it is going to still be 40% chocolate. However, the chocolate we're adding back is 100%. Now that we have this equation, we can solve for x:
\(6 - .4x + x = 7.5\)
\(.6x = 1.5\)
\(x = 2.5\)
Hence, our answer is
B