How should borrower divide home-sale proceeds with investor?

Friend who put up down payment should get more than 20%