Andy travels 315km, half as much time by car at 60km/h as by train at 75km/h. How long did he travel by each mode?