If cos x - (sin x.cot β)/2 = √3/2, find tan (x/2).