document.write( "Question 970428: I use 3/8 of my money to buy shoes and 1/5 to buy food. I have $180 left. how much did i have initially?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #593067 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
x=amount you had.\r
\n" ); document.write( "\n" ); document.write( "You used (3/8) and then (1/5)= common denominator 40 = (15+8)/40=(23/40) spent.\r
\n" ); document.write( "\n" ); document.write( "That means you have (17/40) left, which equals 180\r
\n" ); document.write( "\n" ); document.write( "Multiply by (40/17) and the original amount is (180)*(40/17)=423.53\r
\n" ); document.write( "\n" ); document.write( "423.53 (3/8)=158.82
\n" ); document.write( "423.53 (1/5)=84.71
\n" ); document.write( "The total is 243.53, which when subtracted from the original, leaves $180.\r
\n" ); document.write( "\n" ); document.write( "Note. I am assuming he spent 3/8 of his money on shoes and 1/5 of the original money (not the money left) on food.
\n" ); document.write( "
\n" );