In the adjacent triangle ABC, find the value of x and calculate the measure of all the angles of the triangle.