The total dosage of penicillin V received by a patient is proportional to the number of days the drug is administered. The recommended dosage is 500 mg per day. Which equation could be used to determine the total grams of penicillin (y) the patient receives over a certain number of days (x)?

y = 500x