This question was asked in Ex 2.2,1

Why u had not solved the condition . i.e. x belongs to [-1/2,1/2].

Priyanshu's image