how can i write a unit rate

1gallon/4quarts is a unit rate.