Pyramid A is a square pyramid with a base side length of 12 inches and a height of 8 inches. Pyramid B is a square pyramid with a base side length of 36 inches and a height of 24 inches. How many times bigger is the volume of pyramid B than pyramid A?