The length of a can be calculated by subtracting x₁ from
Similarly, the length of b can be calculated by subtracting. Now you can substitute the lengths of a and b into the equation for c. from y2.

The length of a can be calculated by subtracting x from Similarly the length of b can be calculated by subtracting Now you can substitute the lengths of a and b class=