SOLUTION: A test has 30 questions, you earn 9 points for every correct answer but lose 5 points for every wrong answer. The final test score was 18, how many questions were answered correct

Algebra ->  Human-and-algebraic-language -> SOLUTION: A test has 30 questions, you earn 9 points for every correct answer but lose 5 points for every wrong answer. The final test score was 18, how many questions were answered correct      Log On


   



Question 692850: A test has 30 questions, you earn 9 points for every correct answer but lose 5 points for every wrong answer. The final test score was 18, how many questions were answered correctly?
Answer by Stitch(470) About Me  (Show Source):
You can put this solution on YOUR website!
Set up:
A = # of correct answers
B = # of wrong answers
Equation 1: 18+=+9A+-+5B
Equation 2: 30+=+A+%2B+B
-------------------------------
Solve equation 2 for one of the variables. I soled for A
A+=+30+-+B
Now plug (30 - B) into equation 1 for A
Equation 1: 18+=+9A+-+5B
18+=+9%2A%2830+-+B%29+-+5B
Simplify
18+=+270+-+9B+-+5B
Combine like terms
18+=+270+-+14B
Subtract 270 from both sides
-252+=+-14B
Divide both sides by -14
highlight%2818+=+B%29
Now plug 18 into equation 2 for B
Equation 2: 30+=+A+%2B+B
30+=+A+%2B+%2818%29
Subtract 18 from both sides
highlight_green%2812+=+A%29