Let u make the first box x and the second box y.
If there is a proportional relationship between the number of bananas and their weights, it means that:

We can take the first pair and solve for x as follows:

We can solve for y in the same manner:

Therefore, the boxes are filled as shown below: