Am I right in these 2 questions and if not why

The set of = {
all x = x
| = such that
25)
less than 10 and greater than 2
10>x>2
{x| 10>x>2 }
26) greater than 7 and less than 7
7{x| 7
The "small " end of the sign < always points to the smaller number.