Do you know of a mathematically correct way to distribute funds short of doubling bank considering amount won?

I guess considering either a draw situation or short term agreements?

Would fixed vs resizing wagers affect the answer?

Thank you very much for your time.