To find the total amount Samuel spent at the farmers market on both days, we can calculate his expenses for each day and then combine them.
On the first day, he bought:
- 1 pound of apples for \(x\) dollars, which costs \(1 \cdot x = x\) dollars.
- 3 bags of spinach for \(y\) dollars each, which costs \(3 \cdot y = 3y\) dollars.
So, the total cost for the first day is:
\[ x + 3y \]
On the second day, he bought:
- 6 pounds of apples for \(x\) dollars per pound, which costs \(6 \cdot x = 6x\) dollars.
- 2 bags of spinach for \(y\) dollars each, which costs \(2 \cdot y = 2y\) dollars.
So, the total cost for the second day is:
\[ 6x + 2y \]
Now, we can combine the costs from both days to find the total amount spent:
\[
(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}
\]