Write the next sentence.

Ian was in the library helping Samuel solve the chemical equation since
Samuel was failing chemistry.