In triangle XYZ, angles X, Y, and Z are such that angle Y is twice the measure of angle Z, and angle X is 10 degrees less than the measure of angle Y. Find the measure of angle Z.