According to the given number line A is on -7, X is on -2 and E is on 8.
As you can observe in the image below, X is 5 units away from A. At the same time, X is 10 units away from E.
Therefore, point X is double distant from E as far as it is from A.
The ratio of this relation would be 2:1 from E to A.