We have been the formula for the volume of a rectangular prism as: and the lengths are (x+2) and (x+4).
Since we know that volume of a rectangular prism is length times width times height, so to find the our missing length we will divide volume of rectangular prism by the given side length.
Therefore, missing length of the rectangular prism is 5x-1.