If the segments are congurent they are of equal length.
So constructing an equation will not be hard.
Take for example
and limit x to be between and including 0 and 1 for the first segment. In this case our segment is
.
Now, d has been fixated to the value of 1 and we need to construct a segment from
.
Since both x coordinates of the endpoints of the segment are fixed to be 1, we cannot run anymore, that is, we fixated our run. But on the rise (y-axis direction) we can still move one unit up.
Let e be 1 and f be 2. The distance between
and
is 1 which is also the distance between
and
.
Now we are asked to find the equation of both segments.
First segment is described by
with limited domain of
.
Second segment is described by
with again limited domain of
.
Hope this helps :)