Please read the first post carefully and consult also the OpenCore documentation, if needed. When I started using OC, all I had to do is read the first post, many times I might add.

Then, everything came together clear.
To get you started, you should have your Mac running latest unpatched Mojave macOS on a Sata1 disk (safest way for BootROM refresh, etc.). Mojave is the last supported macOS, for a 5,1 Mac. From there, you can follow the guide step by step.
When I started first, I've chosen to remove all disks and install High Sierra fresh into Sata1 SSD, then I upgraded to Mojave with a metal supported GPU, in my case I used a RX580. All upgrade details are linked into first post.