<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_time_position(self, time):
 """ Get x-coordinate for given time :param time: Time to determine x-coordinate on Canvas for :type time: float :return: X-coordinate for the given time :rtype: int :raises: ValueError """

        if time < self._start or time > self._finish:
            raise ValueError("time argument out of bounds")
        return (time - self._start) / (self._resolution / self._zoom_factor)