One angle in a triangle is 20 degrees more than the smallest angle in the triangle, while the other angle is 22 degrees more than the smallest angle. find the measures of the three angles