x−2>5and

x−2<7

To solve this system of inequalities, we can first solve each inequality separately:

For x - 2 > 5:
Add 2 to both sides to isolate x:
x - 2 + 2 > 5 + 2
x > 7

For x - 2 < 7:
Add 2 to both sides to isolate x:
x - 2 + 2 < 7 + 2
x < 9

Therefore, the solution to the system of inequalities is:
7 < x < 9