How do you write the following in interval notation: x>3 and x ≤ 7?