A student's grade in a course is the average of 4 test grades and a finals exam that is worth twice as much as each test. Suppose a student has test grades of 91, 82, 83 and 92. Write an equation to model this situation where x is the student's grade on the final exam and y is the student's average for the course.