If it’s right of refusal wouldn’t the company have to be willing to buy it in order to prevent the other sale?
You have a buyer. You present to the company that you have a buyer (eg, contract + check deposited in escrow).
The company either has to buy the equity from you (at same or better price, depending on how the contract is written) or they have to let the sale to the other buyer go through.