• Given the line AB whose endpoints are:
![\begin{gathered} A\mleft(4,4\mright) \\ B\mleft(5,-1\mright) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/mrvwf1i8tcdl5dlzxw3tzwkp7iy12ws7ta.png)
You know that the line of reflection is:
![y=x](https://img.qammunity.org/2023/formulas/mathematics/high-school/qx96nvxhyitmji68xu7pniht2yw5u8qwrp.png)
By definition, the rule for that Reflection is:
![(x,y)\rightarrow\mleft(y,x\mright)](https://img.qammunity.org/2023/formulas/mathematics/college/mqcow3uk2ou8k8ez161ronrcyzirtmjm5c.png)
Then, the endpoints of the Image A'B' are:
![\begin{gathered} A(4,4)\rightarrow A^(\prime)(4,4) \\ B(5,-1)\rightarrow B^(\prime)(-1,5) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/dnyhrhhituwlx34c1lpo1kkzu2yu945l59.png)
Therefore, you can notice that the lines of AB and A'B' are graphed correctly.
• According to the information given in the exercise, you must find the perimeter of the figure formed by these segments:
![\begin{gathered} AB \\ B^(\prime)B \\ AB^(\prime) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/v1jhl7za31485atlb8dcza5yzsakku8zcg.png)
Look at the following picture, where you can see the segments that form a triangle:
You can see in the picture a triangle that is formed by the segments AB, B’B and AB'.
To find the length of each segment by using the formula for calculating the distance between two points:
![d=\sqrt[]{(x_2-x_1)^2+(y_2-y_1)^2}](https://img.qammunity.org/2023/formulas/mathematics/college/be685jmxw05hm2tq94m5iuge2xjynn1hfn.png)
Where the points are:
![(x_1,y_1);(x_2,y_2)_{}](https://img.qammunity.org/2023/formulas/mathematics/college/2hhlsmr4ijhrs5ytrqbkhuldvdiuwre9wa.png)
Therefore, knowing the endpoints of each segment of the triangle, you get:
- Length of the side AB:
![AB=\sqrt[]{(5-4)^2+(-1-4)^2}](https://img.qammunity.org/2023/formulas/mathematics/college/7d94sz0s7fcaf992p3q5ofu34f5val2zx8.png)
![\begin{gathered} AB=\sqrt[]{(1)^2+(-5)^2} \\ AB=\sqrt[]{26} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/wfxerq8q2233z57fdc7epoxt3blwetx8le.png)
- Length of the side AB':
![A^{}B^(\prime)=\sqrt[]{(-1-4)^2+(5-4)^2}=\sqrt[]{26}](https://img.qammunity.org/2023/formulas/mathematics/college/wyyvcuulpzjb2olqlq6xkockcna6unigub.png)
- Length of the side B'B:
![B^(\prime)B=\sqrt[]{(-1-5)^2+(5-(-1))^2}=6\sqrt[]{2}](https://img.qammunity.org/2023/formulas/mathematics/college/xfqso9ptznehi9rbphd7n0how9o48my633.png)
Knowing the length of each side, you can add them in order to find the perimeter:
![P=\sqrt[]{26}+\sqrt[]{26}+6\sqrt[]{2}\approx18.7\text{ }units](https://img.qammunity.org/2023/formulas/mathematics/college/gbfe1x31qrkiu4vgn7d4kex6wajnq6lsj2.png)
Therefore, the answer is:
![P\approx18.7\text{ }units](https://img.qammunity.org/2023/formulas/mathematics/college/nod8201plw51abofwzxnqxhcovt1z2z8vp.png)