This question was asked in Example 3
Formula of 2 cos  theta
Harman Ratol's image