Rewrite the equations as:
y = -(A/B)x + 3/B and y = -(1/3)x - 5/3
The values multiplying the x term constitute the slope.
Parallel lines have the same slope, so A/B = 1/3 or B = 3A
Since the first line passes through (-7, 2) we must have 2 = -(A/B)*(-7) + 3/B or 2 = -(A/3A)*(-7) + 3/(3A) or 2 = 7/3 + 1/A
Rearrange this last equation to find A, then find B (from B = 3A), then you can find B-A.