Ricky and Lucy are 40 miles apart on bicycles heading towards each other on the same road. Ricky bicycles at 8 mph and Lucy rides at 6 mph. In how many hours will they meet?