import math


def calc_sides(coords, angle):
    """Calculates the four points of the car (top and bottom right & left)"""
    length = 50
    top_left = [
        coords[0] + math.cos(math.radians(360 - (angle + 30))) * length,
        coords[1] + math.sin(math.radians(360 - (angle + 30))) * length
    ]
    top_right = [
        coords[0] + math.cos(math.radians(360 - (angle + 150))) * length,
        coords[1] + math.sin(math.radians(360 - (angle + 150))) * length
    ]
    bottom_left = [
        coords[0] + math.cos(math.radians(360 - (angle + 210))) * length,
        coords[1] + math.sin(math.radians(360 - (angle + 210))) * length
    ]
    bottom_right = [
        coords[0] + math.cos(math.radians(360 - (angle + 330))) * length,
        coords[1] + math.sin(math.radians(360 - (angle + 330))) * length
    ]

    return [top_left, top_right, bottom_left, bottom_right]