Using analytic functional equations, Berndt derived three reciprocity laws connecting five arithmetical sums analogous to Dedekind sums. This paper gives elementary proofs of all three reciprocity laws and obtains them all from a common source, a polynomial reciprocity formula of L. Carlitz