Let's assign a variable "c" to represent the cost of each item:
3 rawhide bones cost 3 * c dollars
4 balls cost 4 * c dollars
1 squeaky toy costs c dollars
So the total cost on the first day is 3 * c + 4 * c + c = 8 * c dollars.
On the second day, he buys 1 ball for c dollars and 2 rawhide bones for 2 * c dollars, so the total cost on the second day is c + 2 * c = 3 * c dollars.
The total cost of all the items he bought is 8 * c + 3 * c = 11 * c dollars.