The sum of the measures of angle Y and angle Z is 180*. Angle Y measures (3x + 20) and angle Z measures X.

A: write an equation and solve for the value

B: what is the measure of each angle?