The mayor and council shall have full power and authority to assess one-thirds of the costs of paving, grading, macadamizing, and constructing side drains, cross drains, and crossings and otherwise improving the roadway or street proper on the real estate abutting each side of the street improved. The real estate abutting shall pay two-thirds of the entire cost, and any railroad company having tracks running through or across the streets of the city shall be required to pave, grade, macadamize, or otherwise improve said streets in such proportion as the mayor and council may prescribe. Similarly, the mayor and council shall have full power and authority to assess one-half of the costs of paving, grading, macadamizing, and constructing side drains, cross drains, and crossings and otherwise improving the roadway or street proper against the real estate abutting each side of the street or section of street improved, provided that, after publication of notice as prescribed by section 7.5 of this chapter, a majority of the owners of the real estate fail to file protest against the same in the manner and within the time prescribed by section 7.5.