This question was asked in Ex 2.2, 13

Cos inverse (1-a square/1+a square)+cos inverse (1-b square/1+b square)

Yash Arora's image