We let f(x)=2tan(x)−x−1. Then f(x) is a continuous function on the interval (−π/2,π/2) since tan(x)=sin(x)/cos(x) is continuous on this interval, while x+1 is a polynomial and therefore continuous for all real numbers.
We find a value a∈(−π/2,π/2) such that f(a)<0. We observe immediately that a=0 works since
f(0)=2tan(0)−0−1=0−1=−1<0.
We find a value b∈(−π/2,π/2) such that f(b)>0. We see that b=π/4 works since
f(π/4)=2tan(π/4)−π/4−1=2−π/4−1=1−π/4=(4−π)/4>0,
because 3<π<4.
So, because f(x) is continuous on [0,π/4] and f(0)<0 while f(π/4)>0, then the Intermediate Value Theorem guarantees the existence of a real number c∈(0,π/4) such that f(c)=0.