Answer: If Luna casted 2020 spells, Ginny casted 2525 spells.
Step-by-step explanation:
The ratio that we have is
Luna: 4
Ginny: 5
This means that for each 4 spells that luna casts, Ginny cast 5 spells.
Now, we know that luna casted 2020 spells, now, how many groups of 4 e have here?
2020/4 = 505
This means that Luna casted froups of 4 spells 505 times, and for each of those groups, Ginny casted 5 spells, so Ginny casted:
5*505 = 2525 spells.