As the first line passes through the origin, that is point (0,0) and the through the point (4,-5), you can find the slope of this line with the formula
![\begin{gathered} m=(y_(2)-y_(1))/(x_(2)-x_(1)) \\ \text{ Where m is the slope of the line and} \\ (x_1,y_1),(x_2,y_2)\text{ are two points through which the line passes} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/eg6qugsgxzz2kdaas74jdj157c9h28ajth.png)
So, you have
![\begin{gathered} (x_1,y_1)=(0,0) \\ (x_2,y_2)=(4,-5) \\ m=(-5-0)/(4-0) \\ m=(-5)/(4) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/8q3mqxnaolwjh0ai7cypii72j3nentpfqa.png)
Now, you can use the point-slope formulas to find the equation of the line in its slope-intercept form
![\begin{gathered} y-y_1=m(x-x_1) \\ y-0_{}=(-5)/(4)(x-0) \\ y=(-5)/(4)x \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/22iy67m4fw3fbcjplvac1vtt58ahebsc0g.png)
Therefore, the equation of the first line and the answer of numeral b) is
![y=(-5)/(4)x](https://img.qammunity.org/2023/formulas/mathematics/college/k96iztpfszc9u803rz0xih8onzxq3pluq9.png)
On the other hand, the slopes of perpendicular lines satisfy the following equation
![\begin{gathered} m_2=(-1)/(m_1) \\ \text{ Where }m_1\text{ is the slope of line 1 and} \\ m_2\text{ is the slope of line 2} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/i73i7u95h9cdaqkdoe80mpxw2ru3hg6zc2.png)
So, to find the equation of the second line that is perpendicular to the first, you can find its slope and then use the point-slope formula
![\begin{gathered} m_1=(-5)/(4)_{} \\ m_2=\frac{-1}{(-5)/(4)_{}} \\ m_2=\frac{(-1)/(1)}{(-5)/(4)_{}} \\ m_2=(-1\cdot4)/(1\cdot-5) \\ m_2=(4)/(5) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/6aaot0lysllhu77fipyx9x7yz1pt06z1rn.png)
Now, using the point-slope formula with the point (4,-5)
![\begin{gathered} y-y_1=m(x-x_1) \\ y-(-5)_{}=(4)/(5)(x-4) \\ y+5_{}=(4)/(5)x-(16)/(5) \\ \text{ Subtract 5 from both sides of the equation} \\ y+5-5_{}=(4)/(5)x-(16)/(5)-5 \\ y=(4)/(5)x-(41)/(5) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/f8qx8gl6g7wlz66qvsgyhhv2jpu4x3bhxf.png)
Therefore, the equation of the second line and the answer of numeral a) is
![y=(4)/(5)x-(41)/(5)](https://img.qammunity.org/2023/formulas/mathematics/college/2tkeq0n2gkesxpxdaxtxihr73qw4f337op.png)
Graphically,