2 is less than y , and 7 is greater than y or equal to
Use only once in your inequality.
2 answers
2 < Y <= 7.
2 < y and 7 ≥ y
2 < y and y ≤ 7
or
2 < y ≤ 7
2 < y and y ≤ 7
or
2 < y ≤ 7