"Five people are in the car."
Translation:Az autóban öt ember van.
It's a correct translation of the English sentence. While Duo's preferred sentence has a neutral word order, yours emphasises öt ember. There are many people around and five of them are in the car -- this is the context I imagined first.