Let's call the number of words Trei spelled correctly "x". Then, the number of words she spelled incorrectly is 100 - 60 = 40 words.
Therefore, the ratio of correctly spelled words to incorrectly spelled words is x to 40.
To find the number of words she spelled correctly for each word she spelled wrong, we can simplify the ratio by dividing both values by the greatest common factor:
x / 40 = x / (2 * 20) = x / 2 * 20 / 2 = x / 20.
So for every word Trei spelled incorrectly, she spelled 20 / 1 = 20 words correctly.