Hvordan bestemmes vilkårene (beløp og andel) i avtalen?