Answer: The age of Gupta and Manuel are 12 years and 19 years respectively.
Explanation:
Let the age of Gupta would be x.
Let the age of Manuel would be 2x-5.
According to question, the sum of Manuel and Gupta = 31.
So, it becomes,

Hence, the age of Gupta would be 12 years old and age of Manuel would be

Therefore, the age of Gupta and Manuel are 12 years and 19 years respectively.