<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fromAttr2(start, ang, dist):
 """ create from start, angle and distance """

    sx, sy = start
    dx = cos(ang) * dist
    dy = sin(ang) * dist
    return sx, sy, sx + dx, sy + dy