When a federal-aid highway is routed through a municipality, it may participate in the financing, planning, construction, acquisition of right-of-way, and maintenance of the highway in the manner and proportion the department determines is reasonable and proper.