While the statement "Spain influenced the drums in bomba music and Arabs influenced the fish eaten in Sudan" does touch on specific cultural elements (music and food), it doesn’t present as broad an overview of the profound influences that Spanish colonization and Arab contact had on the two cultures as the first statement.
The influence of Spain on the language in Puerto Rico is a foundational cultural element that affects everyday communication and identity, while the impact of Arabs on the cuisine of Sudan also represents a significant cultural aspect. The language and broad cultural traditions are arguably more encompassing than specific instruments or particular food items.
Both statements reflect cultural influences, but the first provides a more general view of the overarching impacts in terms of language and cuisine, which are fundamental aspects of culture.
However, it can be valid to discuss specific cultural elements, like music and food, too—so ultimately, it depends on how broad or specific you wish to be in your comparison. If you feel that the musical and culinary influences are key highlights of each culture, your suggestion could also be a suitable response.