Another way to say "Corn and squash are both vegetables." is "Two kinds of vegetables might be corn and squash."