Rewrite to form a complete sentence (or sentences) without fragment or run-ons
The baby smiled when she saw the dog she cried when the dog began to bark
The baby smiled when she saw the dog she cried when the dog began to bark