document.write( "Question 89688: A donut shop sells a box of 7 cream-filled and 5 jelly donuts for $6.32, and a box of 4 cream filled and 8 jelly donuts for $6.08. Find the cost of a single cream filled and a single jelly donut\".\r
\n" ); document.write( "\n" ); document.write( "I know it's 2 variables and 2 equations. I have it set up like this\r
\n" ); document.write( "\n" ); document.write( "7x + 5y = 6.32
\n" ); document.write( "4x + 8y = 6.08\r
\n" ); document.write( "\n" ); document.write( "I was thinking to get rid of the decimals by mult by 100. I need some help please and maybe step by step instructions. Thank you so much
\n" ); document.write( "

Algebra.Com's Answer #65148 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
7x + 5y = 6.32
\n" ); document.write( "4x + 8y = 6.08 \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Multiply both sides 100\r
\n" ); document.write( "\n" ); document.write( "100(7x + 5y) =100* 6.32
\n" ); document.write( "100(4x + 8y) =100* 6.08 \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Distribute and multiply\r
\n" ); document.write( "\n" ); document.write( "700x+500y=632
\n" ); document.write( "400x+800y=608\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now lets use elimination to solve for x and y\r
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: Solving a System of Linear Equations by Elimination/Addition

\n" ); document.write( "
\n" ); document.write( " Lets start with the given system of linear equations
\n" ); document.write( "
\n" ); document.write( " \"700%2Ax%2B500%2Ay=632\"
\n" ); document.write( " \"400%2Ax%2B800%2Ay=608\"
\n" ); document.write( "
\n" ); document.write( " In order to solve for one variable, we must eliminate the other variable. So if we wanted to solve for y, we would have to eliminate x (or vice versa).
\n" ); document.write( "
\n" ); document.write( " So lets eliminate x. In order to do that, we need to have both x coefficients that are equal but have opposite signs (for instance 2 and -2 are equal but have opposite signs). This way they will add to zero.
\n" ); document.write( "
\n" ); document.write( " So to make the x coefficients equal but opposite, we need to multiply both x coefficients by some number to get them to an equal number. So if we wanted to get 700 and 400 to some equal number, we could try to get them to the LCM.
\n" ); document.write( "
\n" ); document.write( " Since the LCM of 700 and 400 is 2800, we need to multiply both sides of the top equation by 4 and multiply both sides of the bottom equation by -7 like this:
\n" ); document.write( "
\n" ); document.write( " \"4%2A%28700%2Ax%2B500%2Ay%29=%28632%29%2A4\" Multiply the top equation (both sides) by 4
\n" ); document.write( " \"-7%2A%28400%2Ax%2B800%2Ay%29=%28608%29%2A-7\" Multiply the bottom equation (both sides) by -7
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " So after multiplying we get this:
\n" ); document.write( " \"2800%2Ax%2B2000%2Ay=2528\"
\n" ); document.write( " \"-2800%2Ax-5600%2Ay=-4256\"
\n" ); document.write( "
\n" ); document.write( " Notice how 2800 and -2800 add to zero (ie \"2800%2B-2800=0\")
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Now add the equations together. In order to add 2 equations, group like terms and combine them
\n" ); document.write( " \"%282800%2Ax-2800%2Ax%29%2B%282000%2Ay-5600%2Ay%29=2528-4256\"
\n" ); document.write( "
\n" ); document.write( " \"%282800-2800%29%2Ax%2B%282000-5600%29y=2528-4256\"
\n" ); document.write( "
\n" ); document.write( " \"cross%282800%2B-2800%29%2Ax%2B%282000-5600%29%2Ay=2528-4256\" Notice the x coefficients add to zero and cancel out. This means we've eliminated x altogether.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " So after adding and canceling out the x terms we're left with:
\n" ); document.write( "
\n" ); document.write( " \"-3600%2Ay=-1728\"
\n" ); document.write( "
\n" ); document.write( " \"y=-1728%2F-3600\" Divide both sides by \"-3600\" to solve for y
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"y=12%2F25\" Reduce
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Now plug this answer into the top equation \"700%2Ax%2B500%2Ay=632\" to solve for x
\n" ); document.write( "
\n" ); document.write( " \"700%2Ax%2B500%2812%2F25%29=632\" Plug in \"y=12%2F25\"
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"700%2Ax%2B6000%2F25=632\" Multiply
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"700%2Ax%2B240=632\" Reduce
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"700%2Ax=632-240\" Subtract \"240\" from both sides
\n" ); document.write( "
\n" ); document.write( " \"700%2Ax=392\" Combine the terms on the right side
\n" ); document.write( "
\n" ); document.write( " \"cross%28%281%2F700%29%28700%29%29%2Ax=%28392%29%281%2F700%29\" Multiply both sides by \"1%2F700\". This will cancel out \"700\" on the left side.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " \"x=14%2F25\" Multiply the terms on the right side
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " So our answer is
\n" ); document.write( "
\n" ); document.write( " \"x=14%2F25\", \"y=12%2F25\"
\n" ); document.write( "
\n" ); document.write( " which also looks like
\n" ); document.write( "
\n" ); document.write( " (\"14%2F25\", \"12%2F25\")
\n" ); document.write( "
\n" ); document.write( " Notice if we graph the equations (if you need help with graphing, check out this solver)
\n" ); document.write( "
\n" ); document.write( " \"700%2Ax%2B500%2Ay=632\"
\n" ); document.write( " \"400%2Ax%2B800%2Ay=608\"
\n" ); document.write( "
\n" ); document.write( " we get
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " graph of \"700%2Ax%2B500%2Ay=632\" (red) \"400%2Ax%2B800%2Ay=608\" (green) (hint: you may have to solve for y to graph these) and the intersection of the lines (blue circle).
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " and we can see that the two equations intersect at (\"14%2F25\",\"12%2F25\"). This verifies our answer.

\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since \"x=14%2F25\" this means \"x=0.56\" (just convert to decimal form). So the price of a cream filled donut is $0.56 or 56 cents\r
\n" ); document.write( "\n" ); document.write( "Since \"y=12%2F25\" this means \"y=0.48\" (just convert to decimal form). So the price of a jelly donut is $0.48 or 48 cents
\n" ); document.write( "
\n" ); document.write( "
\n" );