Container A was filled with water to the brim. Then, some of the water was poured into an empty Container B until the height of the water in both containers became the same. Find the new height of the water in both containers.

Container A is 40 cm high, with a base of 25 cm by 30 cm.Container B has a base of 18 cm by 25 cm, and we are not given the height.

Calculate the volume of Container A when it is full (to the brim)