In a classroom, a teacher has a total of 30 students. The teacher is trying to determine how many students passed an exam.
Statement (1): 18 students passed the exam.
Statement (2): The number of students who failed the exam is half the number of students who passed.