There are 18 Ture-orFales questions in a Maths test. 2 marks will be given for each correct answer and 1 mark will be deducted for each wrong answer. If Mimi answers all the questions and gets 24 marks, how many correct answers has she got? Please write down equation.