it's easy to replace ram. but it is not possible to upgrade the GPU as it is integrated on the motherboard (soldered) together with the graphics subsystem. You would need to replace the whole motherboard which would probably cost more than buying a new PC with desired specs.