Let E1,E2, and E3 be the respective events that the driver is a scooter driver, a car driver, and a truck driver.
Let A be the event that the person meets with an accident.
There are 2000 scooter drivers, 4000 car drivers, and 6000 truck drivers.
Total number of drivers =2000+4000+6000=12000
P(E1)=P(driverisascooterdriver)=200012000=16
P(E2)=P(driverisacardriver)=400012000=13
P(E3)=P(driverisatruckdriver)=600012000=12
P(A|E1)=P(scooterdrivermetwithanaccident)=0.01=1100
P(A|E2)=P(cardrivermetwithanaccident)=0.03=3100
P(A|E3)=P(truckdrivermetwithanaccident)=0.15=15100
The probability that the driver is a scooter driver, given that he met with an accident, is given by P(E1|A).
By using Baye's theorem, we obtain
P(E1|A)=P(E1)⋅P(A|E1)P(E1)⋅P(A|E1)+P(E2)⋅P(A|E2)+P(E3)⋅P(A|E3)
=16⋅110016⋅1100+13⋅3100+12⋅15100
=16⋅11001100(16+1+152)
=16526
=16×12104
=152=0.019