Answer:
Sam is <u>20 years</u> old now.
Step-by-step explanation:
Given:
Sam is 12 years older than John.
For the last four years, Sam and John have been friends.
Five years ago, Sam was 5 times as old as John.
Now, to find the age of Sam now.
Let the age of Sam be 
And the age of John be 
<em>As, Sam is 12 years older than John.</em>
Thus,
.....( 1 )
Now, to get the age:
According to question:


.....( 2 )
Now, substituting the value of equation (1) in equation (2) we get:

<em>Getting the variables in one side and numbers on the other we get:</em>


<em>Dividing both sides by 4 we get:</em>


The age of John = 8 years.
Now, putting the value of
in equation (1) we get:


Age of Sam = 20 years.
Therefore, Sam is 20 years old now.