The teen rider was going up to 40 mph on a non-street-legal bike, law enforcement said.