FORM OF NOTE PURCHASE AGREEMENT