. . . "All such work carried on in such other municipality shall be done upon such terms as may be agreed upon by such jointly contracting municipalities..." .