It takes Caroline 1 hr to ride the train to work and 1.5 hr to ride the bus. Every week, she must make at least 5 trips to work, and she plans to spend no more than 6 hr in travel time. If a train trip costs $5 and a bus trip costs $4, how many times per week should she ride each in order to minimize her cost?