The average age of husband, wife and their child 3 years ago was 27 years and that of wife and the child 5 years ago was 20 years. What is the present age of the husband?  Pick one.
A) 30
B) 40
C) 20
D) 50
E) 25
Let the present age of the husband = h   Present age of the wife = w   Present age of the child = c   3 years ago, average age of husband, wife and their child = 27   =&gt; Sum of age of husband, wife and their child before 3 years = 3 × 27 = 81   =&gt; (h-3) + (w-3) + (c-3) = 81   =&gt; h + w + c = 81 + 9= 
<gadget id="calculator">81 + 9</gadget>
<output>90</output>
90 --- equation(1)   5 years ago, average age of wife and child= 20   =&gt; Sum of age of wife and child before 5 years = 2 × 20 = 40   =&gt; (w-5) + (c-5) = 40   =&gt; w + c = 40 + 10= 
<gadget id="calculator">40 + 10</gadget>
<output>50</output>
50 --- equation(2)   Substituting equation(2) in equation(1)=&gt; h + 50 = 90   =&gt; h = 90 - 50= 
<gadget id="calculator">90 - 50</gadget>
<output>40</output>
40   i.e., Present age of the husband= 40   Answer is 40.
<result>B</result>
The average age of husband, wife and their child 3 years ago was 27 years and that of wife and the child 5 years ago was 20 years. What is the present age of the husband?