John walks three times as far as Smith, and Wilson walks twice as far as John.Find the distance that John walks, if the three friends walk 4500m in total.

Smith walks X meters.

John walks 3x meters.
Wilson walks 6x meters.

x + 3x + 6x = 4500 m.
X = ?.