Continuing from the initial scenario, what if the man originally had spent 9 dollars on groceries, not 43 dollars, but still received the discount of 43/27 dollars. He still buys that book worth 13/36 dollars. With this change, how much money did he spend in total?