Sam traveled for 300 minutes. Gomo spent 40 minutes more than one-fifth of the time spent by Sam. How much time did Gomo spend traveling?