\r\n" );
document.write( "You just had a period after the first phrase where you should \r\n" );
document.write( "have had a comma.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\"When Bob was as old as Rob was when Bob was half as old\r\n" );
document.write( "as Rob was when Bob was as old as Rob is, Rob was just a\r\n" );
document.write( "third as old as Bob was when Rob was half as old as Bob\r\n" );
document.write( "is. One is in their teens. What are their present ages?\"\r\n" );
document.write( "\r\n" );
document.write( "Suppose Bob is B years old and Rob is R years old.\r\n" );
document.write( "\r\n" );
document.write( "Look at just the first phrase:\r\n" );
document.write( "\r\n" );
document.write( "When Bob was as old as Rob was when Bob was half as old\r\n" );
document.write( "as Rob was when Bob was as old as Rob is,\r\n" );
document.write( "\r\n" );
document.write( "Let's translate these words on the end:\r\n" );
document.write( "\r\n" );
document.write( "\"when Bob was as old as Rob is,\"\r\n" );
document.write( "\r\n" );
document.write( "to a number of years ago. Bob is older than Rob, so we\r\n" );
document.write( "subtract their ages, B-R to find out how many years ago\r\n" );
document.write( "that was. So we rewrite the phrase as:\r\n" );
document.write( "\r\n" );
document.write( "\"When Bob was as old as Rob was when Bob was half as old\r\n" );
document.write( "as Rob was B-R years ago.\"\r\n" );
document.write( "\r\n" );
document.write( "Let's translate these words on the end:\r\n" );
document.write( "\r\n" );
document.write( "\"as old as Rob was B-R years ago.\"\r\n" );
document.write( "\r\n" );
document.write( "to an age. To find that, we subtract B-R years from\r\n" );
document.write( "Rob's age now, which is R and get\r\n" );
document.write( "\r\n" );
document.write( "R-(B-R)\r\n" );
document.write( "R-B+R\r\n" );
document.write( "2R-B\r\n" );
document.write( "\r\n" );
document.write( "So now we have\r\n" );
document.write( "\r\n" );
document.write( "\"When Bob was as old as Rob was when Bob was half of 2R-B\"\r\n" );
document.write( "\r\n" );
document.write( "Let's translate the words on the end:\r\n" );
document.write( "\r\n" );
document.write( "\"half of 2R-B\"\r\n" );
document.write( "\r\n" );
document.write( "to an age as \r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
years old\r\n" );
document.write( "\r\n" );
document.write( "So now we have\r\n" );
document.write( "\r\n" );
document.write( "\"When Bob was as old as Rob was when Bob was
\r\n" );
document.write( "years old.\"\r\n" );
document.write( "\r\n" );
document.write( "Let's translate the words on the end:\r\n" );
document.write( "\r\n" );
document.write( "\"when Bob was
years old\"\r\n" );
document.write( "\r\n" );
document.write( "to a number of years ago. To find how many years ago\r\n" );
document.write( "that was, we subtract
\" from Bob's age now, \r\n" );
document.write( "which is B:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
years ago.\r\n" );
document.write( "\r\n" );
document.write( "So now we have\r\n" );
document.write( "\r\n" );
document.write( "\"When Bob was as old as Rob was
years ago.\r\n" );
document.write( "\r\n" );
document.write( "Let's translate the words on the end:\r\n" );
document.write( "\r\n" );
document.write( "\"as old as Rob was
years ago.\"\r\n" );
document.write( "\r\n" );
document.write( "We subtract that from Rob's age now:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "So now we have\r\n" );
document.write( "\r\n" );
document.write( "\"When Bob was
years old.\"\r\n" );
document.write( "\r\n" );
document.write( "We translate that to a number of years ago by subtracting\r\n" );
document.write( "it from B:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
years ago.\r\n" );
document.write( "\r\n" );
document.write( "Now we look at the second phrase:\r\n" );
document.write( "\r\n" );
document.write( "\"Rob was just a third as old as Bob was when Rob was half\r\n" );
document.write( "as old as Bob is\"\r\n" );
document.write( "\r\n" );
document.write( "Notice the first two words:\r\n" );
document.write( "\r\n" );
document.write( "\"Rob was\".\r\n" );
document.write( "\r\n" );
document.write( "Let's replace that by Rob's age
years ago. We do that by subtracting it from Rob's age now,\r\n" );
document.write( "which is R:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "and put an = sign after it because that is the subject of\r\n" );
document.write( "the second phrase:\r\n" );
document.write( "\r\n" );
document.write( "\"
just a third as old as Bob was when \r\n" );
document.write( "Rob was half as old as Bob is\"\r\n" );
document.write( "\r\n" );
document.write( "Let's translate the words on the end:\r\n" );
document.write( "\r\n" );
document.write( "\"half as old as Bob is\"\r\n" );
document.write( "\r\n" );
document.write( "That's simply
years old.\r\n" );
document.write( "\r\n" );
document.write( "So now we have:\r\n" );
document.write( "\r\n" );
document.write( "\"
just a third as old as Bob was when Rob \r\n" );
document.write( "was
years old.\"\r\n" );
document.write( "\r\n" );
document.write( "Let's translate the words on the end:\r\n" );
document.write( "\r\n" );
document.write( "\"when Rob was
years old.\"\r\n" );
document.write( "\r\n" );
document.write( "to a number of years ago. We do that by subtracting
\r\n" );
document.write( "years from Rob's age now, which is R:\r\n" );
document.write( "\r\n" );
document.write( "
years ago.\r\n" );
document.write( "\r\n" );
document.write( "So now we have:\r\n" );
document.write( "\r\n" );
document.write( "\"
just a third as old as Bob was \r\n" );
document.write( "
years ago.\"\r\n" );
document.write( "\r\n" );
document.write( "Let's translate the words on the end:\r\n" );
document.write( "\r\n" );
document.write( "\"as old as Bob was
years ago\"\r\n" );
document.write( "\r\n" );
document.write( "to the age of Bob then. We do that by subtracting
\r\n" );
document.write( "from Bob's age now, which is B:\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( "
\r\n" );
document.write( " \r\n" );
document.write( "So now we have:\r\n" );
document.write( "\r\n" );
document.write( "
just a third (of)
\r\n" );
document.write( "\r\n" );
document.write( "So we just put
in front of that:\r\n" );
document.write( "\r\n" );
document.write( "

\r\n" );
document.write( "\r\n" );
document.write( "Multiply both sides by 6\r\n" );
document.write( "\r\n" );
document.write( "

\r\n" );
document.write( "\r\n" );
document.write( "

\r\n" );
document.write( "\r\n" );
document.write( "

\r\n" );
document.write( "\r\n" );
document.write( "That simplifies to\r\n" );
document.write( "\r\n" );
document.write( "

\r\n" );
document.write( "\r\n" );
document.write( "

\r\n" );
document.write( "\r\n" );
document.write( "So R must be divisible by 9,\r\n" );
document.write( "\r\n" );
document.write( " So R = 9, 18, 27, 36, 45, 54, 63, 72, 81, 90,...\r\n" );
document.write( "\r\n" );
document.write( "And B = 10, 20, 30, 40, 50, 60, 70, 80, 90, 100,... \r\n" );
document.write( "\r\n" );
document.write( "Now we use this sentence:\r\n" );
document.write( "\r\n" );
document.write( "\"One is in their teens.\"\r\n" );
document.write( "\r\n" );
document.write( "There is only one possibility,\r\n" );
document.write( "\r\n" );
document.write( "Rob is 18 and Bob is 20.\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" );
document.write( "