If you are following a motorcycle, your following distance should be at least:

Increase your following distance to at least four seconds when following a motorcycle. If the motorcycle and its rider should fall, you will need extra space to avoid the obstacle.
DMV Writen Test