Q. A pharmacist mixes 3 grams of compound with 5,000 milligrams of solution to create a prescription. How many total grams is the prescription?