Let and . Let be the path consisting of lines from to to to . Find each of the following integrals exactly:

(a)

(b)

You can earn partial credit on this problem.