Josh has $40.00. He buys a bottle of water that costs $2.00 and four bottles of apple juice. If he has $20 remaining, how much did each bottle of apple juice cost?