A basketball team played 40 games and won 70% of the games. It still had 10 games to play. How many games can they lose to win 60% of their games?
The team has won 40 x 70/100 = 
<gadget id="calculator">40*70/100</gadget>
<output>28</output>
28 games out of 40.
There a total of 40 + 10 = 
<gadget id="calculator">40+10</gadget>
<output>50</output>
50 games to be played.
The team has to win a total of is 50 x 60/100 = 
<gadget id="calculator">50*60/100</gadget>
<output>30</output>
30 games.
So, it still needs to win 30 - 28 = 
<gadget id="calculator">30-28</gadget>
<output>2</output>
2 more games.
Hence, they can still lose 10 - 2 = 
<gadget id="calculator">10-2</gadget>
<output>8</output>
8 games.

<result>8</result>