In order to write an equation you need to find the y-intercept. the way you do this is by plugging in the value 2 and the point into y=mx+b and solving for b. once you plug everything in you get 5=2(1)+b. solving from here you get b=3. putting everything together you get y=2x+3