What's the best structure for an earn-out here?

Situation:

The owners are being forced to sell (personal issues) before they would like. They want to keep running the business for a few more years to hit some ARR goals and get a higher price.