The sum of the internal angles of a triangle must be equal to 180 degrees. We can add the three angles in each case to check wheter there is a triangle with those measurements.
1. 60,60,60
The sum of these three angles adds to 180 degrees, therefore there is a triangle with these measurements.
2. 90,90,45
The sum of these three angles adds to 225 degrees, therefore there isn't a triangle with these measurements
3. 30,40,50
The sum of these three angles adds up to 120 degrees, therefore there isn't a triangle with these measurements.
4. 90,45,45
The sum of these three angles adds up to 180 degrees, therefore there is a triangle with these measurements.
5. 120,30,30
The sum of these three angles adds up to 180 degrees, therefore there is a triangle with these measurements.
The ones that form triangles are 1, 4 and 5.