a shelf is in the shape of a triangle. find the angles of the triangle if the measures of the angles are in the ratio x:x:4x.