There is a rule, that says:
sum of angle measures is always equal to 180 degrees.
thats why:
1) total degrees =180 = 45 + 90 + x
so x = 180 - 45 - 90= 45 degrees
the answer is that you can have unlimited number of triangles with those measures (different lengths of sided of triangles, but third angle has to have 45 degrees)
2) 180 = 67 + 27 + x
x = 180 - 67 - 27 = 86 degrees