the interior angle at B is a linear angle with the exterior angle, thus their sum is 180°, so if we subtract 6x - 7 from 180°, what's leftover is the interior angle at B.
keeping in mind that the sum of all interior angles in a triangle add up to 180°, thus