Need a battery replacement for a Rotax DD2

I found 2 that seem to be a fair price, however the terminals are different then what is used? can I convert it without to much trouble? or is it best just to find something that is the same terminal? (not a expert when it comes to electrical)

12V 9AH Lithium-ion Rechargeable Battery Deep Cycle Replace SLA Lead Acid Battery Built-in BMS Perfect for Kayak, Fish Finder, RV, Solar, Marine, Off-Grid Applications

Duracell DURA12-9F2 12V 9AH

12V 8Ah Lithium Battery Deep Cycle LiFePO4 Rechargeable for Solar RV Off-grid