hey @ vnkt.swaroop we have to find the generalised x and y for all natural numbers n and not for specialised cases like n is even or n is odd
and for all natural numbers n the ans is correct i think
i might be wrong also but i have given my view
hope u got it............