is this sentence correct.....

To complete her Week 3 Discussion, Sharon isolated herself from her family, which finally made them realize she needed to concentrate.

3 answers

Yes.
Try:

After Sharon isolated herself from her family in order to complete her Week 3 Discussion, they realized she needed to concentrate.
Training for the up coming ten-mile marathon,Lizette includes more protein and complex carbohydrates in her diet.