From this problem let's begin with some notation: Let the man age denoted by M. With the info provided we can do this:
Son age = 27-12= 15
Finally with the condition given we can createthe following equation:

And solving for M we got:

So then basically the answer for the men age is 40 years