Ratio of the ages of three children is 2:5:1. The sum of their ages is 32 years. Find the ages of the youngest and the eldest

child.​