The slope-intercept form of a line is:
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
Where m is the slope of the line and b is the y-intercept.
If two lines are perpendicular, their slopes are the inverse multiplied by (-1)
If a line has a slope of m, then the slope of a line perpendicular to it is:
![Slope\text{ }perpendicular=-(1)/(m)](https://img.qammunity.org/2023/formulas/mathematics/college/yhrgc7u85tpkyrjt8b83upbin2ifdi5jt8.png)
We know that the slope of the perpendicular line is 1/2, then the slope of the line we are calculating is:
![m=-(1)/((1)/(2))=-2](https://img.qammunity.org/2023/formulas/mathematics/college/38clz1ljhho6qjv1ew718j8pipj748c4yj.png)
Now, we can use the point-slope form of a line. Given a point P and a slope m, the equation of the line with slope m that passes through the point P is:
![\begin{gathered} P=(x_P,y_P) \\ . \\ y=m(x-x_P)+y_P \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/9z2st8szo84g0w2y7j1ewufialnf2j5agd.png)
In this case, the slope is m = -2 and passes through the point P = (2, 7)
We write:
![y=-2(x-2)+7](https://img.qammunity.org/2023/formulas/mathematics/college/nko2dsavezprm1ugagqi4cy09msc9e70po.png)
If we simplify this expression we get the equation of the line in slope-intercept form:
![y=-2x-2(-2)+7=-2x+4+7=-2x+11](https://img.qammunity.org/2023/formulas/mathematics/college/s89r2dbr2d9zibnya5ubwn16cu5589hsj8.png)
Thus, the answer is:
![y=-2x+11](https://img.qammunity.org/2023/formulas/mathematics/college/41hl4c8wlbamql4qgk2rvc321np3e2ozt8.png)