The motherboard uses a PCI Express x16 lane slot memory so you need a PCIe card that fits into a slot of its physical size (x16), ddr3 or ddr5 doesn't matter, that is a type of memory the graphic card uses also known as GDDR(Graphics Double Data Rate)memory, the "5" or "3" stands for the version of the memory.