Each year the value is multiplied by 0.85: it is a geometric progression Vn=24000⋅0.85n.
(a) V5=24000⋅0.855≈24000⋅0.4437≈10648.93 €.
(b) Impose 24000⋅0.85n<10000, i.e. 0.85n<0.4167; taking logarithms,
n>ln0.85ln0.4167≈5.39,
so the first whole year that works is n=6 (then V6≈9052 €).
V5≈10648.93 €,n=6 years