I got 8 green crayons for the a part just confused for the b part

Answer:
8
7
Step-by-step explanation:
24 purple
green : purple = 1 : 3
g / p = 1/3
g / 24 = 1/3
g = 24/3
g = 8
now abbi put x green crayons into box
now green : purple = 5 : 8
(8 + x) / 24 = 5/8
8 + x = 5/8 * 24
8 + x = 5 * 3
8 + x = 15
x = 15 - 8
x = 7