The train of thought of this problem is as follows:
A divided by b equals 5.
Then we can regard A as 5 copies and B as 1 copy.
Because the sum of a and b is 222.
So b is 222÷(5+ 1)=37.
So a is 222-37= 185.