One angle in a triangle is 10 degrees more than the smallest angle in the triangle, whereas the other angle is 20 degrees more than the smallest angle. Find the measure of the three angles.