PSLE Study Guide/Mathematics

Sample question
80% of the fish in a tank were guppies and the rest were mollies. After 27 guppies and 12 mollies left the tank, 75% of the fish in the tank were guppies. Find the total number of fish in the tank at first.