To determine the total amount Samuel spent at the market on both days, we will calculate the costs for each day separately and then add them together.
On the first day:
- Samuel bought 1 pound of apples for \( x \) dollars per pound, which costs \( 1 \cdot x = x \) dollars.
- He also bought 3 bags of spinach for \( y \) dollars each, which costs \( 3 \cdot y = 3y \) dollars.
Total spent on the first day: \[ x + 3y \]
On the second day:
- Samuel bought 6 pounds of apples for \( x \) dollars per pound, which costs \( 6 \cdot x = 6x \) dollars.
- He also bought 2 bags of spinach for \( y \) dollars each, which costs \( 2 \cdot y = 2y \) dollars.
Total spent on the second day: \[ 6x + 2y \]
Now, we add the total spent on both days: \[ (x + 3y) + (6x + 2y) = x + 6x + 3y + 2y = 7x + 5y \]
Thus, the expression that represents the total amount he spent at the market on both days is: \[ \boxed{7x + 5y} \]