Volume of a container?

A cubic shipping container had a volume of a^3 cubic meters. The height was decreased by a whole number of meters and the width was increased by a whole number of meters so that the volume of the container is now a^3+2a^2 � 3a cubic meters. By how many meters were the height and width changed?
Please help!