<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def cross_product(self, p1, p2):
 """Returns the cross product of two XYPoints."""

        return (p1.x * p2.y - p1.y * p2.x)