Ghana was a British colony and its independence movement was paused during WWII until it restarted in 1945. After this year the independence movement was led by Kwame Nkrumah, who created the first Ghana political party and was peacefully elected later on by the population as the first president of the free republic of Ghana.
Likewise, Kenya was a British colony, but its independence was preceded by many battles and thousands of deaths caused by the violent Mau Mau rebellion against the British government. Afterwards, the independence leader was Jomo Kenyatta, who was chosen as the first president in 1963, while many internal conflicts were still leaving death and damages to the population.
Thus, the right options for Ghana are: led by Kwame Nkrumah, and peaceful transition of power.
While the correct ones for Kenya are: led by Jomo Kenyatta, and violent Mau Mau rebellion led to independence.
The right answers for Ghana and Kenya are: independent after 1945, and former British colony.