To solve this problem, let us say that
x = the cost of the car alone
y = the cost of the accessories
We know that the total selling price wass 24,000 therefore:
x + y = 24,000 ---> 1
Furthermore, we know that the cost of car is 8 times the cost of the accessories, so:
x = 8 y ---> 2
Combining equations 1 and 2:
8 y + y = 24000
9y = 24000
y = 2666.67
Solving for x using equation 2:
x = 8 (2666.67)
x = 21,333.33
Therefore the accessories cost about 2,666.67