document.write( "Question 198519: A man received $12 and free board for every day that he works but for each day that he is idle, he pays the employer $12. How many days was he idle if after 30 days he received $240? \n" ); document.write( "
Algebra.Com's Answer #149041 by yenfox(1)\"\" \"About 
You can put this solution on YOUR website!
X is the number of days he work
\n" ); document.write( "(30-X) is the number of days he doesn't work
\n" ); document.write( "He will receive $12*X after X days of working
\n" ); document.write( "He will have to pay his employer $12*(30-X) for the days that he idle
\n" ); document.write( "At the end of 30 days he earns $240 means the money he earn subtract the money he pay his employer for idling days is $240=$12*X-$12*(30-X)
\n" ); document.write( "$240=$12*X -$360 + $12*X
\n" ); document.write( "$600=$24*X
\n" ); document.write( "25=X
\n" ); document.write( "He work 25 days and idle 5 days
\n" ); document.write( "
\n" );