Tyler’s grocery receipt shows a charge of $0.25 for every apple he purchased.

Let g represent the amount on the grocery receipt.
Let a represent the number of apples purchased.

Which is the dependent variable?