A train moving with constant velocity travels 180 meters north in 14 seconds and an undetermined distance to the west. The speed of the train is 31 m/s. Find the direction of the train's motion relative to north. How far west has the train traveled in this time?