you need to measure the length between the bolts you choose with the hood up (at rest) and with the hood closed, then you buy a hatch strut that has that same lengths when compressed (hood closed) and when extended (hood open).
the ball bolts on the ends need to match the threads of the bolts as well.