If x+5>2 and x-3<7, the value of x must be between which of the following pairs of numbers?