Two planes leave airport at the same time, one traveling south and one traveling west. If three hours later they are 500 miles apart and the plane flying south has traveled 200 miles farther, how far did the one flying west travel?