document.write( "Question 738978: Determine two whole numbers such that the first number increased by triple the second number is 24.
\n" ); document.write( "If the first number is squared and decreased by five times itself, the result is 13 less than the second number.
\n" ); document.write( "

Algebra.Com's Answer #451016 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Let the two numbers be a & b, write an equation for each statement:
\n" ); document.write( ":
\n" ); document.write( "Determine two whole numbers such that the first number increased by triple the second number is 24.
\n" ); document.write( "a + 3b = 24
\n" ); document.write( "3b = (24-a)
\n" ); document.write( "divide by 3
\n" ); document.write( "b = (8 - a/3); use this form for substitution
\n" ); document.write( ":
\n" ); document.write( "If the first number is squared and decreased by five times itself, the result is 13 less than the second number.
\n" ); document.write( "a^2 - 5a = b - 13
\n" ); document.write( "Replace b with (8 - a/3)
\n" ); document.write( "a^2 - 5a = 8 - a/3 - 13
\n" ); document.write( "a^2 - 5a = - a/3 - 5
\n" ); document.write( "mult by 3 to get rid of the denominator
\n" ); document.write( "3a^2 - 15a = -a - 15
\n" ); document.write( "Combine as a quadratic equation on the left
\n" ); document.write( "3a^2 - 15a + a + 15 = 0
\n" ); document.write( "3a^2 - 14a + 15 = 0
\n" ); document.write( "factors to
\n" ); document.write( "(3a-5)(a-3) = 0
\n" ); document.write( "only integer solution
\n" ); document.write( "a = 3
\n" ); document.write( "find b
\n" ); document.write( "b = 8 - 3/3
\n" ); document.write( "b = 7
\n" ); document.write( ";
\n" ); document.write( ";
\n" ); document.write( "See if that works in the given statements
\n" ); document.write( "\"the first number increased by triple the second number is 24.\"
\n" ); document.write( "3 + 3(7) = 24
\n" ); document.write( "\"first number is squared and decreased by five times itself, the result is 13 less than the second number.\"
\n" ); document.write( "3^2 - 5(3) = 7 - 13
\n" ); document.write( "9 - 15 = -6
\n" ); document.write( "
\n" ); document.write( "
\n" );