Detailed Instructions: The task is to generate the correct answer for a given math problem.
Problem:Problem: before 6 years , dog a ' s age was 4 times of dog b ' s age and after 4 years , dog a ' s age will be 3 times of dog b ' s age . what is the difference of dog a ' s age and dog b ' s now ?
Solution:
6