(a)
120+18+42=180 degrees
The sum of the three angles is 180 degrees.
So, the given angles form a triangle.
(b)
The sum of the three angles is 106+61+44=211
Here, the sum of the three angles is not equal to 180 degrees.
So, the triangle these measurements do not form a triangle.