According to the HP specs, your laptop uses PC2-5300 667MHz DDR2 RAM. You probably have a 1GB stick and a 500MB stick right now. To have 2GB, you need to replace the 512 with another 1GB stick -- but Windows 10 really needs 4GB to run reasonably well. So, your better option is to use 1 2GB RAM sticks.
***If my post helped, click the thumbs-up symbol to say thanks***
***Please mark Accept As Solution if my post solved your problem***
I am a volunteer and I do not work for, nor represent, HP
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".