The task is to generate the correct answer for a given math problem.

Problem: the average of 5 quantities is 12 . the average of 3 of them is 4 . what is the average of remaining 2 numbers ?
24

Problem: the smallest value of n , for which n + 2 is not a prime number , is
2,4

Problem: a number is doubled and 9 is added . if resultant is trebled , it becomes 63 . what is that number
6