Need some help figuring this out

Should be wired like this.

relay.jpg