how to write an interval x -3