Josh and Anna were both born on August 17th, but in different years. To consolidate celebrations they also got married on August 17 when Josh turned 22. If today they're celebrating 30 years of marriage and their combined age is exactly 5 times what Josh's age was when they married, how old was Anna when they got married?
We know that Josh must be 30 years older than his age when they got married, therefore he is 30 + 22 = 
<gadget id="calculator">30+22</gadget>
<output>52</output>
52 years old today.
If their current combined age is 5 times the age Josh was when they married (22), then their total combined age is 5 * 22 = 
<gadget id="calculator">5*22</gadget>
<output>110</output>
110 years.
That means that Anna must be 110 - 52 = 
<gadget id="calculator">110-52</gadget>
<output>58</output>
58 years old today.
If they married 30 years ago, Anna must have been 58 - 30 = 
<gadget id="calculator">58-30</gadget>
<output>28</output>
28 years old when they married.

<result>28</result>