3010 If thou shalt hearken unto the voice of the LORD thy God to keep his commandments and his statutes which are written in this book of the law and if thou turn unto the LORD thy God with all thine heart and with all thy soul

What is the correctly punctuated version of this sentence?
30:10 If thou shalt hearken unto the voice of the LORD thy God, to keep his commandments and his statutes which are written in this book of the law, and if thou turn unto the LORD thy God with all thine heart, and with all thy soul.