You are to write an essay.

You are to write an essay.

Explanation

Sentence With Infinitive

Passive Voice: Helping Verb + To be + third form of a verb + by + ……..