Making deduction


Hello
I’m having trouble in understanding this deduction. Shouldn’t X+Y+Z be equal to 180 as it is a straight line. I understand why the angle y is equal to 60 degrees, but the summation of all three angles should equal to 180 degrees right?

Look carefully - the line is not straight.

My bad. Thanks