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