Since you posted this to "Arithmetic", I'll assume you haven't yet gotten to algebra, so you aren't familiar with variables or solving algebraic equations.
You have one box which is filled halfway with apples. The 40-kg weight is the sum of the box (the "tare" weight) and the apples. Since the "half" is five-tenths, draw a box for the box's weight and five circles for the apples' total weight.
You have another box which is filled one-fifth with apples. The 22-kgh weight is the sum of the box and the apples. Since "one-fifth" is two-tenths, draw a box for the box's weight and two circles for the apples' total weight.
The difference in the two drawings is the three more circles that you have for the first box' total weight. That difference is only in apples. What is the difference in weight?
Since that difference stands for three-tenths of the box' capacity (in apples), how much does one-tenth weigh?
Then how much does two-tenths weigh?
Then how much does the empty box weigh?