Fuel cell sending unit

Long story short I am upgrading my fuel cell and the old one just had bolt in middle and the male connetor on it. I was going to try to reuse it but its to Long. So new cell has a two wire sending unit with green and yellow wire coming out. Anyone deal with these? Any idea what each wire is and or how to wire it up if possible?

1523717679653692967861.jpg

1523717707712386243352.jpg