I'll show you how to change the memory from start to finish.
As you saw, I installed a 4GB memory module in one slot and a 1GB module in the other, and it didn't work. But if you install another memory module identical to the first one, it recognizes it, and you have 8GB of memory in total.