Let x be Thomas's age. Since Hulian is 12 years younger than Thomas, then Hulian's age must be x - 12.
Since the sum of their ages is 68 then x + x-12 = 68.
Now solve for x.
x + x - 12 = 68
2x - 12 = 68
+12 +12
2x = 80
2x/2 = 80/2
x = 40 which is Thomas's age