From x + 3y = -5, y = -x/3 - 5, so the slope of the line is -1/3. The slope of the new line is also -1/3, so y = -x/3 + B. Pugging in x = 2 and y = -7, we get -7 = -2/3 + B, so B = -19/3.
Then the line is y = -x/3 - 19/3. Then 3y = -x - 19, so 3y + x = -19. We want the right-hand side to be 3, so we mutiply both sides by -3/19: -9/19*y - 3/19*x = 3. Therefore, B - A = -19/3 - 3 = -28/3.