(a) If two line are perpendicular than:
![m_1* m_2=-1](https://img.qammunity.org/2023/formulas/mathematics/college/drvgj3vmsiwqhbbe0hcgk6m0betp6bgxci.png)
where:
![\begin{gathered} m_1=\text{ first line slope} \\ m_2=\text{ second line slope} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/zj8eu3div8hap7la4h6ekxlvsn0gdnjpnd.png)
line :
![\begin{gathered} y=mx+c \\ y=-5x+1 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/mdd10algjl1oo9h6q3r4qpfxnpneoh5q3i.png)
So perpendicular line slope is:
![\begin{gathered} m_1m_2=-1 \\ -5* m_2=-1 \\ m_2=(1)/(5) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/n8jgt738wox16safoj9jv9ei632v9szr8f.png)
So equation of perpendicular line is:
![\begin{gathered} y=mx+c \\ y=(x)/(5)+c \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/w3eqtenokwev9zn04s64ygq7tc6wanng9g.png)
Line pass is (-2,-5)
![\begin{gathered} y=(x)/(5)+c \\ -5=-(2)/(5)+c \\ c=(2)/(5)-5 \\ c=-(23)/(5) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/10fj5nd4t9bt9cga9sl0wou0jr3fy5bfgo.png)
Final equation of perpendicular line is:
![\begin{gathered} y=mx+c \\ y=(x)/(5)-(23)/(5) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/a9y4mllulr6sf03dfrw3hui0vw5774bop6.png)
(b) parallel line slope is same for each other line is:
![\begin{gathered} m_1=m_2 \\ m_1=-5 \\ m_2=-5 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/hzacb3j7cqbbjnd2mdpammijijs19nr4qu.png)
so parallel line equation is:
![\begin{gathered} y=mx+c \\ y=-5x+c \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/t8zgt5x9deg868q5zkw05ikzb6svc3frbw.png)
line pass at point (-2,-5) then.
![\begin{gathered} y=-5x+c \\ -5=-5*(-2)+c \\ -5=10+c \\ c=-10-5 \\ c=-15 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/5tibae2yocejjchltx7k2extha9610e2ob.png)
So parallel line equation is:
![\begin{gathered} y=mx+c \\ y=-5x+(-15) \\ y=-5x-15 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/14yctpv9hi4nv90li3rovqtm1nmeb5204e.png)