Some of your essay will be marked on content and therefore you need to present a balanced argument, giving justified reasons both for and against the topic being discussed. It is a good idea to offer a couple of developped points for each side rather than many underdeveloped points so the structure may end up looking something like this: introduction to the theme, 2 developped points for, 2 developped points against, conclusion (which should lean towards one side of the argument based on your views).
A significant number of marks will also be awarded for language and accuracy. Examiners are looking for a range of tenses and moods, including some evidence of past, present, future, conditional and subjunctive. Failing to cover a significant number of these will limit the mark you can achieve. Examiners are also looking for varied vocabulary so avoid repetition. Think about the key grammar points you have covered in class - using things like direct and indirect object pronouns (me, te, le / lo, la etc.), reflexive verbs and interesting conjunctions will enhance your work and prove your ability to manipulate the language. Finally don't forget accuracy! When it comes to accuracy with gender/number etc. examiners are more relaxed in the speaking exams but will not be forgiving in written exams if there are a great number of basic mistakes, so make sure you proof read your work, ensuring that all adjectives agree with the nouns they are describing, all verbs correspond to the subject they are referring to etc.. It is sensible to aim to leave at least ten minutes at the end in which to do this.