Let the weight of box A be x and that of box B be y.
When 150 boxes of type A and 100 boxes of type B are loaded in the truck, it weighes 10 tons i.e 10000 kg.
So,
When 260 boxes of type A are loaded in the truck, it can still accommodate 40 boxes of type B, so that it is fully loaded.
Subtracting (I) from (II) we get
Thus, weight of box A = 30 kg and that of box B = 55 kg.