If you're trying to find out what b is then you should know that b is the y-intercept. So you just choose one of the coordinates and substitute it into the equation. I'll use A's coordinates.
So to get from 6 to 4 you subtract 2.
b = -2