First of all, welcome to the LOC. Now I have to ask you, since you just purchased the car, didn't you check the car before buying? Whining noise sounds like you could be low on refrigerant or it could be the compressor itself. One thing you should do is use the search facility to read up on your probs before posting. There's a ton of info available on every topic. Then when you get advice, you'll be better able to understand it. Rattles from the door panels sounds to me like someone replaced the speakers and the panels were not correctly reinstalled or the car has been in an accident and the repairs were not done properly.
Thanks - I did check the car before I bought it buddy. The A/C works fine and that is what I looked for. I did not hear anything inside the cabin, so I assumed it was fine. I did not notice the noise until I left the car running with the defroster on.