solve the equation (2cos theta +1)(tan theta minus 1)=0 for all values between 0 and 2pii.

(2cosθ + 1)(tanθ - 1)=0

see your other post, where you have taken the next step.