Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2023/paper-2/13/a/i/solution

On the first segment, parameterize , . The dot products with are
Their line integrals are one and , respectively.
On the second segment take , with tangent vector . The corresponding integrands are and , whose integrals are and . Adding the segments yields

New to topics? Read the docs here!