A pharmacist mixes 10 grams of a 15% medicine solution with 25 grams of a 10% medicine solution.

How many grams of medicine does the mixture contain?