Mark bought gifts for his friends, and each gift cost $9. Let y represent the total cost and x represent the number of gifts. Write an equation to represent the proportional relationship between the total cost and the number of gifts he bought. (4 points)

a y = 8x

b y = one-eighth x

c y = 9x

d y = one-ninth x