Maximizing Profits and Tuition Calculation