Roger spent $71 on 2 baseball mitts and 5 baseballs. Bob spent $107 on 4 mitts and 3 baseballs. How much do baseballs and mitts cost?