Compare: Estimate, measure, or note the similarity or dissimilarity between.
Contrast: Compare in such a way as to emphasize differences.
Therefore, to contrast is to compare. They mean the same thing. So, just write the differences and similarities between the two texts and you should be fine. It doesn;t matter what subject or topic it is, just stick to the guidelines..
Ik it not a essay but hope it helped
because you are a boy