So 2000/1.25x =1800/x-5.
Answer: X=40 (words/minute)
1.25X=50 (words/minute)
So the typing efficiency of B is 40 words/minute, and that of A is 50 words/minute.