Let's denote the number of goals scored by Emma as [tex]\( x \)[/tex].
Now, according to the problem, Leonie scored 8 more goals than Emma. Therefore, the number of goals scored by Leonie can be represented as [tex]\( x + 8 \)[/tex].
The total number of goals scored by both Emma and Leonie is given to be 28. So, we set up the following equation:
[tex]\[ x + (x + 8) = 28 \][/tex]
Let's solve this equation step-by-step:
1. Combine like terms:
[tex]\[ 2x + 8 = 28 \][/tex]
2. Subtract 8 from both sides to isolate the term with [tex]\( x \)[/tex]:
[tex]\[ 2x = 20 \][/tex]
3. Divide both sides by 2 to solve for [tex]\( x \)[/tex]:
[tex]\[ x = 10 \][/tex]
Thus, the number of goals scored by Emma is [tex]\( 10 \)[/tex] goals.