I think listening to music while doing homework can help to improve the speed you're going at. For me it helps my thoughts because instead of wandering off im focused on the song which gets cancelled out so im just focusing on my work. When im reading it can be harder because I have to concentrate on words and. not writing or math. When I have no music in the background sometimes it can be beneficial because ill go at a faster pace, rather than with music ill go slower but ill take my time so ill understand it. With music it blocks out other voices and other thoughts which can also help me concentrate. To me I think music can be both beneficial and a distraction, but with my headphones in it can be calming and feel not as rushed or like im missing something.