Sonya got 8 out of 10 questions right on a quiz.
This is a score of [tex]\frac{8}{10}[/tex] × 100 = 80%
She got the same score on a quiz that had 20 questions.
So 80% of 20 questions were correct = [tex]\frac{80}{100}[/tex] × 20 = 16 questions.
So she got 16 questions right on the second quiz and;
20 - 16 = 4 wrong questions on the second quiz.