\n" );
document.write( "Hi,
\n" );
document.write( "
\n" );
document.write( "Let x and (175 - x)represent the number of cookies and soft drinks sold respectively
\n" );
document.write( "Question states***
\n" );
document.write( " $0.50x + $0.30(175 - x) = $65.70
\n" );
document.write( "solving for x
\n" );
document.write( " $0.20x = $65.70 - $0.30*175
\n" );
document.write( " $0.20x = $65.70- $52.50
\n" );
document.write( " x = 13.20/.20
\n" );
document.write( " x = 66, number of cookies sold, soft drinks, 109 were sold (175-66)\r
\n" );
document.write( "\n" );
document.write( "CHECKING our Answer
\n" );
document.write( " .50*66 + .30*109 = $33 + $32.70 = 65.70
\n" );
document.write( "