There are 3 main ways to express preferences that all you students should know and use. With all of these, the second clause is not always included if the context makes it unnecessary.
prefer + noun/gerund + to + noun/gerund – used to talk about general preferences
would prefer + infinitive with to + rather than + infinitive without to– used to talk about preferences for a specific moment or hypothetical preferences
would (much) rather + infinitive without to + than + infinitive without to – has the same meaning as would prefer