Re Install Avast to exisiting PC

I had to reset to factory settings and now Avast is missing, I bought this in October2016so have 7 more months to run. Can anyone help me, I am not very computer savvy, sorry

You can download the latest version here: https://forum.avast.com/index.php?topic=197955.0