Would prefer is an English lexical-grammatical structure.
This expresses hypothetic preference.
The form is the same as would like. It uses the subjunctive mood.
This is usually taught after would like. Consequently, "prefer" can be substituted for "like".
Don't confuse with would rather. Prefer is a verb whereas rather is an adverb.