show your steps.

Two boxes of tea weigh 88 KG together. After we took out 15 KG of tea from box A to put into box B, box B thrice the amount of tea as box A. Find the original amount of teeth in the box A and box B.

Let x be the original amount of tea in box A and y be the original amount of tea in box B.

From the given information, we have the following two equations:
1) x + y = 88 (equation 1)
2) y + 15 = 3(x - 15) (equation 2)

We can simplify equation 2 by expanding the right side:
y + 15 = 3x - 45

Now we can substitute equation 1 into the simplified equation 2:
x + y = 88
y = 88 - x

Substitute y = 88 - x into the simplified equation 2:
88 - x + 15 = 3x - 45
103 - x = 3x - 45
103 + 45 = 3x + x
148 = 4x
x = 37

Now substitute x = 37 back into equation 1 to find y:
37 + y = 88
y = 88 - 37
y = 51

Therefore, the original amount of tea in box A is 37 KG and the original amount of tea in box B is 51 KG.