The midpoint of the line segment from -5 to 1/2 is (-5 + 1/2)/2 = -9/4. The distance from -5 to -9/4 and the distance from -9/4 to 1/2 is 11/4.
So, if x is either less than -5 or greater than 1/2, then x is more than 11/4 units from -9/4
This can be written as l x - (-9/4) l > 11/4
Simplify: l x + 9/4 l > 11/4
l 4x + 9 l > 11