<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_product(self, other):
 """ Return the dot product of the given vectors. """

        return self.x * other.x + self.y * other.y