The people driving the tiny white car were nearly hit by the train, but it had fortunately stopped just in time.
The car was nearly hit by a train.
Les gens qui empruntaient la petite voiture blanche étaient presque frappés par le train,
La voiture a été presque touchée par un train.