Tim decides to do a movie marathon.  The first movie is 2 hours long.  The next movie is 50% longer.  And the last movie is 1 hour shorter than the combined time of the previous 2 movies.  How long was his movie marathon?
The second movie was 2*.5=
<gadget id="calculator">2*.5</gadget>
<output>1</output>
1` hour longer than the first movie.
So the second movie was 2+1=
<gadget id="calculator">2+1</gadget>
<output>3</output>
3 hours long.
That means the first two movies had a combined time of 3+2=
<gadget id="calculator">3+2</gadget>
<output>5</output>
5 hours.
So the last movie had a length of 5-1=
<gadget id="calculator">5-1</gadget>
<output>4</output>
4 hours.
That means the marathon lasted 5+4=
<gadget id="calculator">5+4</gadget>
<output>9</output>
9 hours.

<result>9</result>