Answer: The equation is (y=x+6)
Explanation:
Lets assume the equation to be y=mx+c,
where,
m=slope of the line
c=constant
Since we know that,
slope=m=tanx
where x is the angle between x-axis and line
tanx=
![tanx= (perpendicular)/(base)](https://img.qammunity.org/2023/formulas/mathematics/college/75g955dxpkenj2y2rfqm7xr7qvg47pjdos.png)
so here it will be,
![tanx=(10-6)/(4-0) \\= > tanx=1\\= > m=1](https://img.qammunity.org/2023/formulas/mathematics/college/c708k634ys6dguklf8418wq1pckq9p3bf1.png)
Also, c=6 as we can clearly see from the graph
Therefore the equation of line is => y= x +6