You can put this solution on YOUR website! It is unclear which situation you mean.
.
x=the angle
.
For (two times the complement) plus 40.
180-x=2(90-x)+40 or
180-x=180-2x+40
-x=-2x+40
x=40
.
-OR-
.
For two times (the complement plus 40).
180-x=2(90-x+40)
180-x=180-2x+80
-x=-2x+80
x=80