DC Barrel Jack Adapter - Female- connection fault

We have a broken power connection for a cross fit machine, which i have purchased a DC Barrel jack adaptor.
I need some help on how to wire the three cables to it as i am constantly geting a E2 code on the display.

pictures attached to make more sense- note that the machine was purchased overseas and brought with us to Aus.


image
image
image

Any help would be grateful as I am lost!