The average weight of 36 students in a class is 62 kgs. If the weight of the teacher is also included the average becomes 62.5 kgs. Find the weight of the teacher.
Solution X is 15% salt and solution Y is 50% salt. If the two solutions are combined to form 7 gallons of a 30% solution, how many gallons of solution X must be used?