Let \( R \) be the radius of the Earth, and \( h \) be the height of the antenna. The distance \( d \) between the two antennas is given by:
\[
d = \sqrt{2Rh}
\]
We are given that \( d = 4 \, \text{km} \), and the radius of the Earth \( R = 6400 \, \text{km} \). Substituting these values into the equation:
\[
4 = \sqrt{2 \times 6400 \times h}
\]
Squaring both sides:
\[
16 = 2 \times 6400 \times h
\]
\[
h = \frac{16}{12800} = 1 \, \text{m}
\]
Now, using the formula for the signal range:
\[
x = \frac{500}{4} = 125
\]
Thus, the value of \( x \) is 125.