Taking out $20k loan for startup costs.

I want to offer ownership shares to one investor who’s lending me approx $10k but need advice on how to structure it please. I know nothing of what to include, what percentage and for how long (indefinitely?). Is there an average percentage to offer? In case it factors, their loan to me will be very low rate or interest free, tbd.

Any advice is helpful. Thx.