A truck is loaded with two different types of boxes.If 150 of box A and 115 of box B are loaded onto the truck, its capacity of 10 tonnes is reached. If 300 of box A are loaded,then the truck can only take 30 of box B before the capaciy of 10 tonnes is reached. Find the weight of each box in kg. [1tonne=1000kilogram]