Help make a specific autonomos car

I was wondering if there was any way to make a car that with a press of a button it will travel a certain distance and then stop automatically when it reaches the distance and to then choose between a range of distances.

Yes

(deleted)