So you are given a triangle ABC and you need to build another one DEF that meets the following:

First of all we should find the lengths of sides AB and BC. For this purpose we can use the coordinates of points A, B and C. The length of AB is the distance between A and B and the length of BC is the distance between B and C. The distance between two generic points (a,b) and (c,d) is given by:
![\sqrt[]{(a-c)^2+(b-d)^2}](https://img.qammunity.org/2023/formulas/mathematics/college/b7w873zviwl7njt21ms0dlod5oi8nkfgvj.png)
Then the length of AB is:
![AB=\sqrt[]{(1-1)^2+(6-1)^2}=\sqrt[]{0+5^2}=5](https://img.qammunity.org/2023/formulas/mathematics/college/dwb8tss0cfsw9grbxpv9q9g1ijndf6sg6a.png)
And that of BC is:
![BC=\sqrt[]{(1-5)^2+(1-1)^2}=\sqrt[]{4^2}=4](https://img.qammunity.org/2023/formulas/mathematics/college/qjzux0nbtqsbfgtmo0z8xfab4lbtstfjqy.png)
Then the triangle DEF must meet these three conditions:

Since there is no rules about its position we can draw it anywhere. For example you can choose E=(-4,1). Then if D=(-4,6) we have that the length of DE is 5:
![DE=\sqrt[]{(-4-(-4))^2+(6-1)^2}=\sqrt[]{0+5^2}=5](https://img.qammunity.org/2023/formulas/mathematics/college/qcauhkmfofb3v3as399cn7a12kj1mma0af.png)
And if we take F=(0,1) we get EF=4:
![EF=\sqrt[]{(-4-0)^2+(1-1)^2}=\sqrt[]{16}=4](https://img.qammunity.org/2023/formulas/mathematics/college/g0srihyh1t75li3wj3mp3oy1cn6oy6e6rv.png)
Then a possibility for triangle DEF is:
As you can see it also meets the condition that the measure of E is 90°. And that would be part A.
In part B we have to use the pythagorean theorem to state a relation between the sides of DEF. For a right triangle with legs a and b the theorem states that its hypotenuse h is given by:

We can do the same for DEF. Its legs are DE and EF whereas its hypotenuse is DF so we get:

And that's the equation requested in part B.