Go back to the definition of dot product and write a for loop that matches it.