\r\n" );
document.write( "She solved it backwards. I'll solve it forward, which will probably require\r\n" );
document.write( "a little more work, but it'll be more straight forward.\r\n" );
document.write( "\r\n" );
document.write( "However, there is a slight flaw in the problem. We are not told that when she\r\n" );
document.write( "saved $45, that this $45 was ALL she had left. She could have put $45 in her\r\n" );
document.write( "savings account and still had some left over. But I will assume that she saved\r\n" );
document.write( "ALL that was left. For otherwise, the problem would not be solvable.\r\n" );
document.write( "\r\n" );
document.write( "Suppose she had $x at the beginning and each hairpin cost $h.\r\n" );
document.write( "\r\n" );
document.write( "After spending $90 on a blouse and skirt, she had $(x-90) left.\r\n" );
document.write( "\r\n" );
document.write( "So then she paid 4h for hair pins and that was equal to 3/8 of $(x-90). So\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Then she had \r\n" );
document.write( "
left. That's\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
left\r\n" );
document.write( "\r\n" );
document.write( "Then she gave 2/5 of that to her mother. That's \r\n" );
document.write( "
or\r\n" );
document.write( "
that she gave to her mother,\r\n" );
document.write( "so she had\r\n" );
document.write( "

or\r\n" );
document.write( "\r\n" );
document.write( "
left\r\n" );
document.write( "\r\n" );
document.write( "Assuming that she saved ALL the rest,\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Multiply both sides by 8\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
<-- so she had $210 to start with, which was not asked for, but\r\n" );
document.write( " could have been. And which you would need to check the problem.\r\n" );
document.write( "\r\n" );
document.write( "Substituting in\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
(120}}}\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "So each hairpin cost $11.25. <--the answer!\r\n" );
document.write( "\r\n" );
document.write( "Checking:\r\n" );
document.write( "\r\n" );
document.write( "Rachel had $210 to begin with \r\n" );
document.write( "\r\n" );
document.write( "Rachel spent $90 on a blouse and shoes. \r\n" );
document.write( "\r\n" );
document.write( "So she had $120 left.\r\n" );
document.write( "\r\n" );
document.write( "After that she spent 3/8 of her remaining money on 4 identical hairpins. \r\n" );
document.write( "\r\n" );
document.write( "Each hairpin cost $11.25 so 4 of them cost $45. So she had $120-$45 = $75 left.\r\n" );
document.write( "\r\n" );
document.write( "After buying the hairpins, she gave 2/5 of her money she had left to her mother\r\n" );
document.write( "\r\n" );
document.write( "So she gave 2/5 of $75 or $30 to her mother.\r\n" );
document.write( "\r\n" );
document.write( "So she had $75 - $30 = $45 left\r\n" );
document.write( "\r\n" );
document.write( "And since she saved ALL of it, our work is correct.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" );
document.write( "