Juliet is 3 years older than her sister Maggie but 2 years younger than her elder brother Ralph. If Juliet is 10 years old, what is the sum of Maggie's and Ralph's ages?
Maggie is 3 years younger than Juliet who is 10 years so she is 10-3 = 
<gadget id="calculator">10-3</gadget>
<output>7</output>
7 years old.
Ralph is 2 years older than Maggie so he is 10+2 = 12 years old.
The sum of Maggie's and Ralph's ages is 7+12 = 
<gadget id="calculator">7+12</gadget>
<output>19</output>
19 years.

<result>19</result>