Essays On Taxation And Transfers In Middle-Income Countries