<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def compute_coordinates(self):
 """ Compute 2D coordinates of the piece. """

        self._x, self._y = self.board.index_to_coordinates(self.index)