document.write( "Question 534449: Ryan is 4 years younger than Michael. The product of their ages is 1020 years.
\n" ); document.write( "What are both ages?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #351547 by fcabanski(1391)\"\" \"About 
You can put this solution on YOUR website!
Check my profile and contact me for one on one online tutoring.

\r
\n" ); document.write( "\n" ); document.write( "Michael is X years old.


\n" ); document.write( "Ryan is X-4 years old.


\n" ); document.write( "The product of their ages is 1020:

\r
\n" ); document.write( "\n" ); document.write( "x(x-4)=1020 multiply both terms inside () by x:


\n" ); document.write( "x^2-4x=1020 (subtract 1020 from both sides):


\n" ); document.write( "x^2 - 4x -1020 =0 (factor with reverse foil)


\n" ); document.write( "(x + 30)(x - 34) (set each = 0 and solve):


\n" ); document.write( "x+30=0 ---> x=-30 age can't be negative, so this isn't the answer.


\n" ); document.write( "x-34=0 ---> x=34
\n" ); document.write( " \n" ); document.write( "

\n" );