import math


def get_vector_coords(x1, y1, length, angle_deg):
    """ find the end point coordinates of a vector
    :param x1:      start point
    :param y1:      start point
    :param length:  vector magnitude
    :param angle_deg: vector angle (degrees)
    :return: [start_x, end_x], [start_y, end_y]
    """
    y2 = y1 + length * math.sin(math.pi - math.radians(angle_deg))
    x2 = x1 + length * math.cos(math.pi - math.radians(angle_deg))
    return [x1, x2], [y1, y2]