<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_xy_from_linecol(self, line, col, offsets, factors):
 """Get the intermediate coordinates from line & col. Intermediate coordinates are actually the instruments scanning angles. """

        loff, coff = offsets
        lfac, cfac = factors
        x__ = (col - coff) / cfac * 2**16
        y__ = (line - loff) / lfac * 2**16

        return x__, y__