The weight of meteorite A is 9 times the weight of meteorite B. If the sum of their weights is 180 ​tons, find the weight of each.