document.write( "Question 182840: A math test has two problems. The first was solved by 70% of the students. The second was solved by 60%. Every student solved at least one of the problems. Nine students solved both problems. How many students took the test? \n" ); document.write( "
Algebra.Com's Answer #137257 by tvandenberg(45)\"\" \"About 
You can put this solution on YOUR website!
T = total number of student
\n" ); document.write( "X = number of students that solved second problem
\n" ); document.write( "Y = number of students that solved second problem\r
\n" ); document.write( "\n" ); document.write( "X / T = 0.70 --> X = 0.7 T
\n" ); document.write( "Y / T = 0.60 --> Y = 0.6 T\r
\n" ); document.write( "\n" ); document.write( "X + Y - 9 = T (since 9 students are in both X and Y)\r
\n" ); document.write( "\n" ); document.write( "0.7 T + 0.6 Y - 9 = T\r
\n" ); document.write( "\n" ); document.write( "0.3T = 9\r
\n" ); document.write( "\n" ); document.write( "T = 9 / 0.3 --> T = 30
\n" ); document.write( "
\n" );