To win the race probability at each slot= P*(1-P)3
and to loss the race probability at each slot= 1- P*(1-P)3
so till 4 slots it lost = 4 (1- P*(1-P)3 )
and at the fitth slot won the race=P*(1-P)3
So ans should be 4* (1- P*(1-P)3 ) P*(1-P)3 = 4*P(1-P)3(1-P(1-P)3)
correct me!