The correct answer to this open question is the following.
Although there are no options attached, we can say the following.
The role that imperialism played in creating the borders of modern Africa was the following.
After the Berlin Conference of 1884, European superpowers agreed to regulate or establish some order to colonize the territories in the African continent. Expansionistic and imperialistic ideas promoted the Partition of Africa, commonly known as the Scramble for Africa. This colonization formally started in 1884 and ended approximately in 1914. European nations invaded Africa, occupied territories, split tribes, changed borders, and created new ones.
The main idea of European nations such as France, Spain, Great Britain, Portugal or Germany, was not to colonize the African territories to help them. No. The main goal was to exploit the many natural resources and raw materials that were abundant in Africa.