James and Sarah went out to lunch. The price of lunch for both of them was $40. They tipped their server 20% of that amount. How much did each person pay if they shared the price of lunch and the tip equally? ​