You can
put this solution on YOUR website!
1) no. of ways to go first floor to second = 4
no. of ways to return from second floor = 4
total no. of ways = 4*4 = 16
2) here, no. of places that should be filled = 6, all others are fixed.
no. of ways = 10^6 = 1000000