Sir in this question n is even so why you used this formula 2( n-1) + 2n/2-1 ? In video you told that we should use 2(n-1) +2n/2 if n is even