Devin teaches one math course per year. He taught Calculus for 4 years, Algebra for twice as many years, and Statistics for 5 times as long as he taught Algebra. How many years has Devin taught?
Calculus: 
<gadget id="calculator">4</gadget>
<output>4</output>
4 years.
Algebra: 4(2)=8 years.
Statistics: 8(5)=
<gadget id="calculator">8*5</gadget>
<output>40</output>
40 years.
Total number of years taught: 4+8+40=
<gadget id="calculator">4+8+40</gadget>
<output>52</output>
52 years.

<result>52</result>