Nine homes will be affordable housing