Question 179552
Let x = fresh water fish bought
then
13-x = salt water fish bought
.
3x + 2(13-x) = 31
3x + 26 - 2x = 31
x + 26 = 31
x = 5 
He bought 5 fresh water fishes.