First of all we need to find a representation of C, so this is shown in the figure below.
So the integral we need to compute is this:
So, as shown in the figure, C = C1 + C2, so:
Computing first integral:Applying derivative:
Substituting this value into
Computing second integral:Applying derivative:
Substituting this differential into
We need to know the limits of our integral, so given that the variable we are using in this integral is x, then the limits are the x coordinates of the extreme points of the straight line C2, so:
Finally: