Inquiry hears killer of caseworker had difficult transition from youth to adult