A decomposition of the dual space of some Banach Function Spaces