Question 822004
THE RECTANGULAR CONTAINER:

{{{8*inch*6*inch*7*cm*(1*inch/(2.54*cm))=highlight_green(132.3* inch^3)}}}
(This is the maximum volume it can hold).


The five cups was how much volume in cubic inches?
{{{5*cups(14.44*inch^3/(1*cups))}}}
'
Without yet computing that volume, a formula to use the height of the liquid in the rectangular container can be formulated; using h for the height of the liquid:


{{{5*cups(14.44*inch^3/(1*cups))=8*6*h}}}, and the units of h is INCHES.
Without showing units, 
{{{5*14.44=8*6*h}}}
{{{highlight(h=(5*14.44)/(8*6))}}}
It is your choice if you want to convert this into centimeters.