Selecting 6 elements out of 10 elements from B can be done in 10C6 ways.
Let these 6 elements arranged in ascending order be {b1,b2,b3,b4,b5,b6},bi∈B
All of these 6 elements can be arranged in increasing order in such a way that f(xi)=bi and f(x1)<f(x2)<f(x3)<f(x4)<f(x5)<f(x6) can be done in 1 way .
So, total number of required functions =10C6.