How to use parallel vector (1,2) to get linear equation?

How to use parallel vector (1,2) to get linear equation?

You can see that the slope of the line is: 2
Let the linear equation be y = 2x + B