We must have two requirements:
- The angles add to 180 degrees (this is true for any triangle).
- One of the angles is 90 degrees.
Based on condition 2, we can rule out choice A and choice B.
Choice E would not work because 30+45+90 = 165, which doesn't satisfy condition 1 above.
Choice D doesn't work either because 40+40+90 = 170.
Choice C does work since 40+50+90 = 180, and one of the angles is 90 degrees.
Final Answer: Choice C. 40, 50, 90