Why is french negation constructed with ne ### pas? I mean where does the "pas" come from? Comparing it with spanish, wouldn't it be more natural to have "je ne suis médecin" instead of "je ne suis ...

When I enter “Je ne parle pas français” into Google translate I get “I do not speak French.” But if I just type “Je ne pas”, I get “I do not.”
Why are the pas and parle switched around in the phrase ...

I'm not sure I understand the use of "de pas faire" completely. I thought it mean "to not do" but the phrase "libre de pas faire comme on nous dit" seems to translate as "free to do as we are told" ...