A chef that manages two restaurants buys seven bags of rice and six bags of flour.
Restaurant A receives four bags of rice and two bags of flour for a total cost of
$78. Restaurant B receives three bags of rice and four bags of flour for a total
cost of $71.50. What is the cost of each bag of rice and each bag of flour?