Cyclopentanone is treated with piperidine cyclopentanone is treated with piperidine in acid catalyzed conditions to form the organic product (A). (A) on reaction with benzyl bromide followed by hydrolysis gives another organic product (B) containing aromatic ring. If the sum of degrees of unsaturation of (A) and (B) is x and the difference of the number of carbon atoms in (A) and (B) is y, then find the value of x/y.

According to me compound (A) is an enamine, but I'm not sure about (B)! 



So according to this, my answer is x/y = 10/7
But the actual answer is x/y = 4.5

I don't know where am I going wrong!
As per the reaction sequence what you said about A is absolutely correct and in B I think you didn't consider hydrolysis of the product. The product what you have written is correct before hydrolysis, and after hydrolysis the carbonyl reforms and the other component becomes piperidine again. So,the final product B is 2-(phenylmethyl)cyclopentan-1-one. Hope that helps!