9 decreased by n is written as:
n-9
n9
9n
9-n
Here the number 9 is to be decreased by n which means we have to subtract n from 9 which results in 9-n