yeah that memory should be fine mate, im assuming you bought this pc from a high street store.?
if you want to upgrade the graphics card, remember to check and see if your psu is up to it, these branded models from stores usually are built with a psu to meet the requirements and no more, so a high powered graphics card might neen the psu upgraded aswell