Please show your but an short explanation, i inserted a picture of the question

With the given information we can make the following equation:
[tex]x+2x+3x=30[/tex][tex]6x=30[/tex][tex]x\text{ = 5}[/tex]Then David will have:
[tex]2\times5=10\text{ years}[/tex]Answer: 10 years.