At a farmers market, Samuel bought 3 pounds of apples for x dollars per pound and 2 bags of spinach for y dollars each. The next day he returned and bought 5 pounds of apples for x dollars per pound and 3 bags of spinach for y dollars each. Which expression represents the total amount he spent at the market on both days?

A.8x + 5y

B.8y + 5x

C.6y + 7x

D.6x + 7y