<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dot_v2(vec1, vec2):
 """Return the dot product of two vectors"""


    return vec1.x * vec2.x + vec1.y * vec2.y