A doctor's prescription calls for a daily intake containing 50 mg of vitamin C and 10 mg of vitamin D. Your pharmacy stocks two
compounds that can be used: one contains 80% vitamin C and 10% vitamin D, the other 40% vitamin C and 20% vitamin D. How many milligrams of each compound should be mixed to fill the prescription?