Consider Ax + By = C. Since C does not contribute to the slope of the line, we might as well consider
Ax + By = 0, whence By = -Ax, showing y = - (A/B)x, showing the slope is -A/B for any line Ax + By = C.
In this case, you have Ax + By = 13, where A + B = 6, and -A/B = 7, showing A/B = -7, showing A = -7B. Substitute -7B for A in the equation A + B = 6 to get -7B + B = 6 which you can solve to find B, and then back substitute into A + B = 6 to find A.