I appreciate the compliments on my solution. But, I did not see that solution at first! Initially, I went through essentially the same calculations as outlined by
@Chestermiller. When I saw that ##W_1## and ##W_2## came out the same, I stepped back to see if there was a different way. It took me a while.
Here's another way to see the answer. The volume of the large pump is four times the volume of the small pump. So, we can think of the initial air in the large pump as consisting of four "parcels" of air each of which has an initial volume equal to that of the small pump.
First step: Push the knob of the large pump until the first parcel of air is transferred to the container. The three parcels of air remaining in the large pump are now at the new pressure, ##P_1##, of the container. So, each remaining parcel has been compressed from atmospheric pressure to ##P_1##. The total work done so far is the work done to transfer the first parcel plus the work done to compress the other 3 parcels. Note that the work done on just the first parcel equals the work that is done by the small pump during its first stroke. So, the total work done by the large pump at this point is greater than the work done by the first stroke of the small pump.
Second step: Push the knob of the large pump farther until the second parcel of air has been transferred. The pressure of the system increases from ##P_1## to ##P_2##. The total work done in this step is the work done on parcel number 2 as it was transferred to the container plus the work done on the two remaining parcels to compress them so that their pressure increases to ##P_2##.
Note that the total work that was done on parcel number 2 is the work that was done on it in the first step to raise its pressure from atmospheric pressure to ##P_1## plus the work that was done on it as it was transferred to the container in the second step. Thus, this total work on parcel 2 matches the work done by the small pump during its second stroke.
Third step: Parcel number 3 will be transferred and the total work done on parcel 3 will be the work done on it during steps 1 and 2 to compress it from atmospheric pressure to ##P_2## plus the work done in step 3 to transfer it to the container. So, the total work done on parcel 3 matches the work done by stroke 3 of the small pump.
Fourth step: (Left for you).