I have a problem that says:

Combine these two statements into a single mathematical statement:
x>2 and x<7.

I'm not sure if I'm supposed to do this by graphing a number line or not, is there a way to do it without a number line?

2 answers

2 < x < 7

it is easy to visualize with a number line but I did not need one. By reading the statements you can figure out that x is between 2 and 7
If you have learned the interval notation, you could use:
(2,7) which means from 2 to 7, excluding 2 and 7. (inclusion would be [2,7]).

An equivalent notation that is in use would be:
]2,7[

When the square brackets are turned the right way, they also mean inclusion of the limits.