You can
put this solution on YOUR website!
"The difference of (or between) two quantities" always means
"the first one given minus the second one given". Therefore,
The difference of 9 and x
means
9 - x
because 9 is the first one given and x is the second one given.
Edwin