The ratio of the measures of the three angles in a triangle is 2:10:18. Find the measures of the largest angle.​