.
The angles WXZ and WYZ are inscribed angles to the circle, and they leaning on the same arc WZ.
So these angles are congruent (the measure of each angle is half of the measure of the arc).
It gives you an equation
5x - 6 = 2x + 12,
3x = 12 + 6 ---> 3x = 18 ---> x = = 6.
Answer. x is 6 degrees.
See the lesson
- An inscribed angle in a circle
in this site.
Also, you have this free of charge online textbook on Geometry
GEOMETRY - YOUR ONLINE TEXTBOOK
in this site.
The referred lesson is the part if this textbook under the topic
"Properties of circles, inscribed angles, chords, secants and tangents".