City, residents will split cost of new trees