It is given that and are complementary angles.
Therefore, their sum must be equal to 90°.
Thus,
Hence the value of x is.