Ayo and Bola shares #360 at the ratio of 4:5, how much did each gets?

Ayo : Bola = 4:5 = 4x : 5x

4x + 5x = 360
9x = 360
x = 40

so Ayo gets 4x or 160
Bola gets 5x or 200

note: 160:200 = 4:5 , and 160+200= 360, so the answer is correct