I'm pretty sure 40 degrees refers to that arc of the circle. In this case, you need two formulas:
1) Angle inside circle equals one-half of the sum of the intercepted arcs.
2) Angle outside circle equals one-half of the difference of the intercepted arcs.