All triangles equal 180 so when you add the other 2 degrees in the triangle then subtract that by 180 then you get the third angle. The a straight line also equals 180 degrees so when you get the third angle subtract it by 180 then you get the answer to the "?"
That's how I was taught so, hope I got it all right! : )