We have the following expression:

and we want to know the set of values of x that satisfies the inequality.
We see that in order to be the left-hand side of the inequality less or equal to zero we must have:
1) First case.
(x-2) is negative and (x-7) is positive, so its product is a negative number.

This is equivalent to have:

There are no values of x that can satisfy both inequalities at the same time. So this is an incompatible solution.
2) Second case
(x-2) is positive and (x-7) is negative, so its product is a negative number.

This is equivalent to have:

In this case, the inequalities are compatible and the set or range of values of x that satisfies these inequalities are:

Plotting this in the graph: