def fromTM35FINToMap(x, y):
    """
    Function for moving from TM35FIN coordinates into the coordinates of the
    picture
    """
    pic_h = 2480
    pic_w = 1748

    x_min = -40442
    y_min = 6555699
    x_max = 837057
    y_max = 7800801

    y_max -= y_min
    x_max -= x_min

    x_return = pic_w * (x - x_min) / x_max
    y_return = pic_h * (y_max - (y - y_min)) / y_max

    return x_return, y_return