4. Taking a pill of Medicine A gives you 5 mg of an undesired substance, and a pill of Medicine B gives you 7 mg of the undesired substance. Let x be the number of A pills you take and y be the number of B pills you take. Define an objective function that could be used to minimize the amount of the undesired substance.z=