Solve for x -1<x+2<=7