The equation of a line in slope-intercept has the following form:
y = mx + b
Where m is the slope of the line and b is the y-intercept.
By replacing 2 for m, we get:
y = 2x + b
By replacing the x and y-coordinates of the point where the line passes through (3, 5), we get:
5 = 2(3) + b
5 = 6 + b
From this equation we can solve for b to get:
5 - 6 = 6 - 6 + b
-1 = b
b = -1
Then, the equation of the line is:
y = 2x - 1