To find the equation that can be used to determine the number of points Sonia earned for completing each level, you can set up a linear equation.
Let's denote the number of points Sonia earned for completing each level as "x."
She has completed 14 levels, and for each level, she earned "x" points, so the total points she has so far can be calculated as:
Total points = 14x + 9
Given that Sonia has a total of 331 points, you can set up the equation as follows:
331 = 14x + 9
Now, you can solve this equation for "x" to find the number of points she earned for completing each level.