To find if Eli was slower or faster in the second attempt we need to find a common denominator of both 1/20 and 1/30 hour.
1/20 = 3/60
1/30 = 2/60
We can now see that he made the first test in 3 minutes and the second test in 2 minutes.
If there were 420 words to rewrite, then he did 420 / 3 = 140 words per minute in the first attempt and 420 / 2 = 210 words per minute in the second attempt. So to complete the explanation:
Eli typed faster on his second attempt. He typed 140 words per minute on his first attempt and 210 words per minute on his second attempt.