Gauss's magic shoelace area formula and its calculus companion