2008 malibu lt 3.6

how do i pull the transmission from the top or where can i find some sort of guide on it?

Oh boy, this should be a fun discussion.

Your public library may have manuals, or in the case of ours subscribes to online info etc. I am just asking you are sure it is the trans replacement needed?

You should be able to buy a manual online.

Many of these vehicles were designed such that the entire drivetrain (engine, tranny, supporting subframes, suspension, steering, etc.) were manufactured as a “module” and the body was then lowered over the entire assembly. You may find that removal of your transmission requires dropping the entire front end out from under the unibody, and this is not a job for a novice.