solution

>    plot(cos(x)/(2*cos(x)-1),x=-Pi/3..2*Pi+Pi/3,y=-4..4,discont=true,scaling=constrained);

[Maple Plot]