The water level in a rectangular prism tank 40 centimeters by 20 centimeters is 12 centimeters high. A rock submerged in the tank raises the water level 0.4 centimeters. What is the volume of the rock?