Firstly, make sure you know how to upgrade a graphics card in a laptop. I's a very complicated process. Taking it apart in most cases before you can access the installed graphics chip. Usually takes many careful steps and very fiddly. If not disassembled properly or put back properly the laptop would fail altogether. Upgrading ram is a simple straight forward procedure. Good luck.
Samsung Galaxy A8 review: Hands-on