Cup is to bowl as vacuum cleaner is to broom. This is another relationship about function. The cup and bowl are both used for eating. The vacuum cleaner and broom are both used for cleaning.
Towel is to bathtub as chest of drawers is to bed. The towel and bathtub are both found in a bathroom; the chest and the bed are both found in a bedroom.
Grapes are to a pear as cheese is to butter. This relationship shows the grouping or category to which something belongs. Grapes and pears are fruit; cheese and butter are both dairy products.