How do you translate the words into a mathematical expression: the difference of 5 and twice x?
Look at each phrase separately:
The "DIFFERENCE" is the answer to a subtraction operation.
It is always used with the word "AND" indicating which two numbers must be subtracted.
The DIFFERENCE between 10 AND 7
In the context of the question it does not matter which way the terms are subtracted.
The DIFFERENCE of 5 AND "twice x" is written as: