Answer:
x > 6 and x ≤ 10
Explanation:
You have to sleep for more than 6 hours, which means it is greater than and can not be equal to because it has to be more than 6 hours.
For the second problem, at most includes the 10th person so x is less than or equal to 10.
Hope this makes sense!!