Complementary angles and solving for x