In eight years, Mr. Bernard will be 3 times as old as Luke is now. If Luke is 20, what is 10 years less than their average age?
If Luke is 20, he will be 20+8 = 
<gadget id="calculator">20+8</gadget>
<output>28</output>
28 years old in eight years.
In eight years, Mr. Bernard will be 3 times as old as Luke is now, a total of 3*20= 
<gadget id="calculator">3*20</gadget>
<output>60</output>
60 years old.
Mr. Bernard is now 60-8= 
<gadget id="calculator">60-8</gadget>
<output>52</output>
52 years old.
The sum of their current ages is 52+20 = 
<gadget id="calculator">52+20</gadget>
<output>72</output>
72.
Their average age is 72/2 =
<gadget id="calculator">72/2</gadget>
<output>36</output>
36
10 less than their average age is 36-10 = 
<gadget id="calculator">36-10</gadget>
<output>26</output>
26 years.

<result>26</result>