IPhone restore/back-up

I backed my iPhone up on my laptop because I was told to do that if I forgot the passcode, which I had. I backed it up knowing that if I reset my phone in order to choose a new passcode, the data would be wiped from the phone. Now I want to restore it to how it was, but when I select "Restore Backup" and select the one I want, it asks for a password. I've tried the new one that I've set as well as multiple guesses of what my old one was. I'm confused as to what to do to get my old data back, considering this is the route I was told to go if I forgot my passcode.

Try the password you used when you setup iTunes, not the password on your phone, unless they are the same. If you never setup an iTunes backup password, try typing in your apple id password, no caps, no numbers, and see if that helps.