Say we have two primes, say 7 and 11. We are to consider the positions of the multiples of 7 inside the (7 buckets of) multiples of $11$.
So the buckets of 11 are:
$[1,11],[12,22],\ldots ,[67,77]$, 7 in total.
And the multiples of 7 are $7,14,21,28,\ldots,70,77$, 11 in total.
By the PP we can say each bucket contains at least one multiple, but we can't place an upper limit on the contents of each bucket. How can we prove that there are $3$ buckets with 1 multiple and 4 buckets with 2 multiples, and then generalize the result?
Clearly since $7<11$ there is at least one multiple in each bucket and since $2\times 7 = 14 >11$ there are no more than two multiples in each bucket. Since we know the total number of multiples of 7 and the total number of buckets, these limits serve to give the result of $4$ buckets with $2$ multiples in and $3$ buckets with only one multiple in.
When considering $x$ buckets of size $y$, we know that every bucket will contain at least $k=\lfloor y/x \rfloor$ and no more than $\lceil y/x \rceil$ multiples, since $kx\le y$ and $(k+1) x > y$ by definition. The excess after all buckets have $k$ multiples apportioned to them is $(y \bmod x)$. So there will be $(y \bmod x)$ buckets (might be zero) containing $\lceil y/x \rceil$ multiples and the remainder with $\lfloor y/x \rfloor$ multiples in.