Solving problems involving volumes and rates of change