Question 1209419
<pre>     
<font color="blue"><b>At a bakery the ratio of the number of lotus paste mooncakes to red bean paste
mooncakes was 3 to 1.</b></font>
So there were {{{3k}}} LP cakes and {{{1k}}} RB mooncakes and {{{3k+1k}}}{{{""=""}}}{{{4k}}} mooncakes to begin with. 
<font color="blue"><b>The shop sold half of the total number of mooncakes.</b></font>
So they sold {{{(1/2)(4k)}}}{{{""=""}}}{{{2k}}} mooncakes
<font color="blue"><b>Out of the mooncakes sold, 5/6 were lotus paste.</b></font>
So {{{(5/6)(2k)}}}{{{""=""}}}{{{(5k)/3}}} LP's were sold and {{{2k-(5k)/3}}}{{{""=""}}}{{{(1k)/3}}} RB were sold.
<font color="blue"><b>In the end there were 24 red bean left.</b></font> 
{{{1k-1k/3}}}{{{""=""}}}{{{(2k)/3}}} RBs were left so 
{{{(2k)/3}}}{{{""=""}}}{{{24}}}
{{{k}}}{{{""=""}}}{{{36}}}
<font color="blue"><b>How many lotus paste were sold.</b></font>
{{{(5k)/3}}}{{{""=""}}}{{{(5(36))/3=60}}}
Answer = 60 LPs sold. 

Edwin</pre>