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