Alright, I have a new wrinkle in this problem. This is the context of the whole thing:
When 1,5-dibromopentane reacts with ammonia, among several products isolated is a water-soluble compound A that rapidly gives a precipitate of AgBr with acidic AgNO3 solution. Compound A is unchanged when treated with dilute base, but treatment of A with concentrated NaOH and heat gives a new compound B (C10H19N) that decolorizes Br2 in CCl4. Compound B is identical to the product obtained from the reaction sequence shown below. Identify A and B. Hint: First, identify compound B by completing the reaction sequence. The result of the bromine test suggests the presence of a particular functional group in compound B.
The structure I figured out for B is correct, which is the one we hashed out. For structure A, I really don't know what it could be...we've never really emphasized reactions like this. I would imagine you would need a NH with two 5 carbon chains coming off each side. But I am not sure what would be attached to the ends of those chains in order to 1) close the ring and 2) create an alkene. I assume treating with the concentrated NaOH and heat would do a ring closing metathesis, but again..we haven't learned that with amines yet. Any help to get this darn thing figured out would be much appreciated.