document.write( "Question 19543: I need help with my math homework the instructions say \r
\n" ); document.write( "\n" ); document.write( "The variables x and y vary directly. Use the given values to write an equation that relates x and y. \r
\n" ); document.write( "\n" ); document.write( "x=6 y=18
\n" ); document.write( "

Algebra.Com's Answer #9442 by wuwei96815(245)\"\" \"About 
You can put this solution on YOUR website!
If I understand your question the following answer should do:
\n" ); document.write( "y=3x\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "To test this equation substitute the value 6 for x in the equation and see if you get 18 for y's value.
\n" ); document.write( "
\n" );