The general formula for the equation of the straight line is:
y−b=m(x−a) where
m is the slope
a is the x coordinate of the given point
b is the y coordinate of the given point
The slope is given as 2
x coordinate in the given point is 5
y coordinate of the given point is 9
Substitute with these values in the mentioned equation as follows:
y−9=2(x-5)