Solve for x -pi/2<x-pi/4<pi/2