Hello, KristaB.!
The difference between a number and 9 is the same as 49 less the number. Find it.
Let \(\displaystyle x\) be the number.
"49 less than \(\displaystyle x\)" is \(\displaystyle x\,-\,49\)
But the "difference between \(\displaystyle x\) and 9" could be
either: \(\displaystyle x\,-\,9\) or \(\displaystyle 9\,-\,x\)
We'll try it both ways . . .
[1] \(\displaystyle \;x\,-\,9\:=\:x\,-\,49\;\;\Rightarrow\;\;-9\,=\,-49\;???\)
[2] \(\displaystyle \;9\,-\,x\:=\:x\,-\,49\;\;\Rightarrow\;\;-2x\,=\,-58\;\;\Rightarrow\;\;x\,=\,29\)
. . . there!