Find the value of x.

This doesn't seem to be striking me at all. I used the trigonometry identity of tan inverse A + tan inverse B, but the answer doesn't really spring from that..

Any help will be appreciated.

Also,

Find the value of the expression here. I tried substituting and converting cos inverse to sin inverse but the identity is becoming too long and the answer ambiguous.