The train ride to California took six hours. On the train trip back home from California the train travel to 40 mph faster and the trip only took four hours. How far away is California?