Using the inverse, what GPA does a student need to get a passing score of 510 on the state exam?

A high school principal uses the formula y=150x+180 to predict a student's score on a state achievement test using the student's 11th-grade GPA number x.