In an examination, +5 marks are scored by a student if a question is answered correctly and −2 marks are scored by a student if a question is answered incorrectly. If Markus attempts x questions correctly and y questions incorrectly, find the total marks scored by Markus in the examination.