Find the values of X in the interval[2,22/7(r)] that satisfies the inequality-1<tanx<1

I cannot make sens of your interval, but you know that

-1 = tan 3π/4 = tan 7π/4
1 = tan π/4 = tan 5π/4
so in QI,QII, π/4 < x < 3π/4
and in QIII,QIV, 5π/4 < x < 7π/4