Two vehicles are driving side by side ahead of your vehicle and you are in a hurry. You should:

Always allow at least two seconds of space between you and the vehicle in front of you. This allows you room to react to the actions of other drivers. You must always leave adequate space between vehicles, regardless of if you are in a hurry or not.
DMV Writen Test