What compound inequality represents the phrase all real numbers that are greater than 2 and less than or equal to 7?