Hello
I suppose that permutations \( \{1,2,3,4,5,6,7,8,9,10\} \) and \( \{10,9,8,7,6,5,4,3,2,1\} \) are excluded.
To construct a permutation under the prescribed conditions we only have to choose the numbers of the decreasing part.
For example if we choose \( 2,9,4,5 \), we obtain the permutation \( \{9,5,4,2,1,3,6,7,8,10\} \).
Thus, the number of such permutations is the number of non-trivial subsets of \( \{1,2,3,4,5,6,7,8,9,10\} \).
Conclude...
Best regards