First, we draw the segments:
Now, to compute the slopes of the segments we use the following formula:
![s=(y_2-y_1)/(x_2-x_1)\text{.}](https://img.qammunity.org/2023/formulas/mathematics/college/bgvzfl7xnjug1q2a39qbpho9edifz4128n.png)
The slope of the red segments is:
![s_r=(6-1)/(5-3)=(5)/(2)\text{.}](https://img.qammunity.org/2023/formulas/mathematics/college/zr1tr87nq2ogzuvs497704k2jo9dw9lptc.png)
The slope of the blue segments is:
![s_b=(0-5)/(2-0)=(-5)/(2)=-(5)/(2)\text{.}](https://img.qammunity.org/2023/formulas/mathematics/college/98btuvvyk896mwj4j96inco3tno26zvhn1.png)
Notice that the absolute value of the slopes is the same but the values are the negative of each other, so the segments are equally steep but in opposite directions.