The RAM shouldnt be a problem but pre-made up computers like these usually have really difficult motherboards because they tend to be a different size so im not sure on that one. Have a look on the pc analyzer tool to see if it says the size of your motherboard or what form factor it is. Only other way is to measure it yourself which could be difficult.