Solve the equation

cotΘ-abtanΘ = a-b
Answer-tanΘ=1/a or -1/b

correct.