If you triple the length of a single dimension object, you get x3 the size. If you triple the area of a 2nd dimension object, you get x3^2 the size. If you triple the volume of a three-dimensional object you get x3^3 the size.
The base will be x3^2 or 9 times larger.
If you triple the height as well as the base, you are increasing 3 dimensions, so you are increasing the volume to the third power, or 27 times larger.
9, 27