Apply the formulas $V = l \times w \times h$ and $V = B \times h$ for rectangular prisms to find volumes of right rectangular prisms with whole-number edge lengths in the context of solving real-world and mathematical problems.