Please reason step by step, and put your final answer within \boxed{}.
Given that for any \( m \in \left[\frac{1}{2}, 3\right] \), the inequality \( x^{2} + mx + 4 > 2m + 4x \) holds, find the range of values of \( x \).
user