In the sophomore class at Dixon high school the number of students taking French is 2/3 of the number taking Spanish. How many students are studying each language if the total number of students in French and Spanish is 310?