Answer:
15 problems were assigned for the weekend.
Explanation:
Let x denote the number of problems assigned for the weekend.
Before Sunday, he did 3/5 of the problems, so he is left with (1-3/5)x = 2/5 x of the problems.
On Sunday, he solved 1/3 of what was left of the problems, so he is left with (1 - 1/3)(2/5 x) = (2/3) * (2/5) x = 4/15 x problems.
4/15 x equals 4 because those were the last remaining problems, so we can solve for x:
So 15 problems were assigned for the weekend.