~からなる(成る)      => Consists of; formed to N2
~ひょうしに(~拍子に)   => the moment [A], unintentionally / inadvertently caused something to happen N1