At a certain high school, the psychology class consists of 60% of the senior class. In the psychology class, 40% of the students are boys, and there are 90 girls in this class. What is the total number of students in the senior class at this high school?

I know the answer should be 250 but how can I show it algebraically?