Identify product Z in the following reaction sequence:
CH2=CHCH2Br+NaCN→CH2=CH2CN
CH2=CHCH2CN+C6H5MgBr/H3O+→CH2=CHCH2CH(OH)C6H5
BrCH2CHBrCH2Bralc.KOH−−−−−→[X]CH3O−−−−−→Y;[X] and [Y] respectively are