triangle HAM looks like an isosceles triangle, and we know that in an isosceles triangle 2 of the angles are the same.
so :
180 - 106 = 74 ( sum of the other 2 angles )
74/2 = 37 ( sum of angle HMA / HAM )
angles on a straight line add up to 180.
180-37=143 ( angle x )
since triangle YMH is also an isosceles,
180-37=143
143/2=71.5 ( angle w )