I think in the second amendment "the people" are quite clearly the citizens so they can secure their own "free" state. Where the first amendment is about limiting what the government can do so they can't make laws against free speech.
it doesn't. Read the first amendment carefully. People is only used in one specific part, the bulk is about limiting what the lawmakers can do. free speech has no reference to "people"