Answer:
50
Step-by-step explanation:
90-40 = 50
As the angles are complementary, their sum is 90
x + 40 = 90
x = 50