Here is an example of setting up line integrals for a piecewise smooth path. It should be noted that the two paths involved here are some of the key examples I highlight in my classroom.
No download links available.