This is rental with sale at term.
Leases of convenience exist but represent a risk :
This is still a short period; the ideal situation would actually be a duration of at least 6 years in order to amortise the farm capital.
The period is too short to be of any real use (see reimbursement of loans, etc.).
It is therefore necessary that:
Do not pay any money in advance (if the seller no longer wants to sell, if the farmer no longer wants to buy/but can stay in place / has priority).
More information:
consult local legal departments.