I meant the misunderstanding that might arise from using 'not to do smth'. I didn't know there's such nuance involved where "How not to get hit by cars" = "How to get hit by cars in the proper fashion". To me "How not to get hit by cars" sounded like "How to avoid getting hit by cars". That's why I asked.