The sum of a and b is 82. If b subtracts 7, then b is a. What are a and b?

As we all know, the sum of A and B is 82. If B is minus 7, then B is twice as much as A, and the sum of A and B is minus 7.

(The number of times that B is A is not given in the question. Just set the number of times here, but the method is the same. )

Available: A is (82-7)÷( 1+2) = 25 and B is 82-25 = 57.