you need to figure what a normal rent would be for the property.  the landlord should get that.  any amount over the normal rent should be applied to purchase price and maybe 10% of the normal rent figure also.