contestada

There are two piles of printing papers on a table. The first pile is A kg more than the second pile.
If B kg are used in each pile, the first pile will be x times of second pile. Find the weights in each pile.