The expression is 7 cups to 9 pints.
\The ratio is
.
The fraction is 
(1 pint = 2 cups)
(Divide numerator and denominator by their GCF 126)
(Cancel common terms)

Written in simplest form , the ratio is 7 to 18.