3/10
Explanation
The total number of people that are studying neither Russian nor Spanish will be subtracted from the total number of people
i.e 80-23=57
Now let's calculate those that studies both languages (x)
50+31-x=57
-x=57-50-31
-x=-24
x=24
probability of choosing those that studies both Spanish and Russian is
24/80=3/10