A student prepares butanenitrile, , and then hydrolyses separate samples of it under two different conditions.
Sample 1 is heated under reflux with dilute hydrochloric acid.
Sample 2 is heated under reflux with dilute sodium hydroxide, and the mixture is then acidified.
Describe the similarities and differences between the reactions of the two samples, and state the organic product formed in each case.