Let x be number of multiple-choice questions and y be number of short answer questions. Total number of questions are 15, so
The worth of multiple choice question is 2 points, so worth of x multiple choice questions are 2x and worth of y short answer questions are 5y. Total worth of test is 60. So equation is,