Mikala built two steps, as shown, out of two wood boxes to help her little brother reach the top of his toy table and to store some of his toys.
The dotted line shows where the two boxes fit together, making two rectangular prisms. When she finished, Mikala realized the steps were not tall enough, so she added on another wood box to make a third, higher step. If the total volume of the 3 boxes is 840 cubic inches, what is the volume of the third box?