To write the equation of a line you need to identify the slope (m) and the y-intercept (b).
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
Slope:
Two perpendicular lines have opposite slopes, as you have the nexrt equation for a perpendicular line to k:
![4y-x=2](https://img.qammunity.org/2023/formulas/mathematics/high-school/ityhnu5pgna4u7wtqbup78u62hc6tbxamk.png)
Write it as y=mx+b to identify the slope (solve y):
![\begin{gathered} 4y=x+2 \\ y=(1)/(4)x+(2)/(4) \\ \\ y=(1)/(4)x+(1)/(2) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/2xsg399e9lkmq5vqldcvwg7l37teu82gar.png)
The slope of the line above is 1/4. Then, the slope of line k is the opposite of 1/4.
Slope of K: m= -1/4
Y-intercept:
To find the y intercept use the given point (1,2) and the slope in the equation:
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
y= 2
x= 1
m= -1/4
Find b:
![\begin{gathered} 2=-(1)/(4)(1)+b \\ \\ 2=-(1)/(4)+b \\ \\ 2+(1)/(4)=b \\ \\ (9)/(4)=b \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/high-school/qj5ztiw5qtpwh8e3g99c35hficv6gl26lq.png)
Y-intercept of K: b= 9/4Equation of line k:
![y=-(1)/(4)x+(9)/(4)](https://img.qammunity.org/2023/formulas/mathematics/high-school/s7zcbttbuqqywdbedkvjdxxkvq3p0et88d.png)